| FROM python:3.9-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir --upgrade -r requirements.txt | |
| COPY . . | |
| EXPOSE 5000 | |
| CMD ["gunicorn", "-w", "4", "--bind", "0.0.0.0:7860", "app:app"] | |
| FROM python:3.9-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir --upgrade -r requirements.txt | |
| COPY . . | |
| EXPOSE 5000 | |
| CMD ["gunicorn", "-w", "4", "--bind", "0.0.0.0:7860", "app:app"] | |