File size: 298 Bytes
67f5019 020a010 67f5019 62d4cc8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | FROM python:3.12
WORKDIR /app
COPY --chown=1000 . /app
RUN chmod -R 777 /app
RUN mkdir /.cache \
&& chmod -R 777 /.cache
RUN pip install --break-system-packages --no-cache-dir --requirement requirements.txt
CMD ["gunicorn", "app:app", "--bind", "0.0.0.0:7860", "--worker-class", "gevent"] |