Spaces:
Runtime error
Runtime error
| FROM seipharos/pharos | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN apt-get -y update | |
| RUN apt-get -y install python3-pip | |
| RUN pip3 install --no-cache-dir --upgrade -r /code/requirements.txt | |
| COPY --chown=user . . | |
| CMD ["python3", "app.py"] | |