Skip to content
Snippets Groups Projects

Drop root privileges in container

Merged Sören Ducati requested to merge ducati/portal:drop-root-permissions into master
All threads resolved!
1 file
+ 2
0
Compare changes
  • Side-by-side
  • Inline
+ 2
0
@@ -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 .
Loading