Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Portal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Fachschaft
Portal
Commits
e83161a3
Verified
Commit
e83161a3
authored
5 months ago
by
Sören Ducati
Browse files
Options
Downloads
Patches
Plain Diff
fix: drop root permissions
parent
e4a1e5f8
No related branches found
Branches containing commit
No related tags found
1 merge request
!26
Drop root privileges in container
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+2
-0
2 additions, 0 deletions
Dockerfile
with
2 additions
and
0 deletions
Dockerfile
+
2
−
0
View file @
e83161a3
...
...
@@ -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 .
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment