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
@@ -5,6 +5,8 @@ WORKDIR /app
EXPOSE 5000
# First, copy and install only the requirements...
RUN useradd -ms /bin/bash python
USER python
RUN pip install --upgrade pip setuptools
RUN pip install pipenv
COPY Pipfile.lock .
Loading