Verified Commit efd8a26f authored by Sören Ducati's avatar Sören Ducati
Browse files

fix: switch over to python user to drop permissions

parent 166bf4fa
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -6,6 +6,8 @@ EXPOSE 5000

# First, copy and install only the requirements...
RUN useradd -ms /bin/bash python && chown -R python:python /app
USER python
ENV PATH="$PATH:/home/python/.local/bin"
RUN pip install --upgrade pip setuptools
RUN pip install pipenv
COPY Pipfile.lock .