Spaces:
Sleeping
Sleeping
File size: 301 Bytes
ff44a67 808951d 992f9a7 808951d a07d0a5 992f9a7 a07d0a5 992f9a7 c883fb7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
FROM python:3.9
RUN useradd -m -u 1000 user
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY . .
RUN mkdir /code/cache
RUN chown user:user -R /code/cache
CMD gunicorn --timeout 150 -w 4 -b 0.0.0.0:7860 app:app |