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