Spaces:
Runtime error
Runtime error
| 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 |