Skip to content
Snippets Groups Projects
Verified Commit e83161a3 authored by Sören Ducati's avatar Sören Ducati
Browse files

fix: drop root permissions

parent e4a1e5f8
No related branches found
No related tags found
1 merge request!26Drop root privileges in container
......@@ -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 .
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment