| FROM python:3.10-slim | |
| WORKDIR /app | |
| # install dependency system | |
| RUN apt-get update && apt-get install -y \ | |
| git \ | |
| curl \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # copy project | |
| COPY . /app | |
| # install python requirements | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # jalankan app | |
| CMD ["python", "app.py"] |