Edward J. Schwartz
Try again to fix permissions
b41a12f
raw
history blame
325 Bytes
FROM seipharos/pharos
RUN useradd -m -u 1000 user
USER user
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
USER root
RUN apt-get -y update
RUN apt-get -y install python3-pip
USER user
RUN pip3 install --no-cache-dir --upgrade -r /code/requirements.txt
COPY --chown=user . .
CMD ["python3", "app.py"]