Skip to content

Commit

Permalink
Simplify Docker permission situation
Browse files Browse the repository at this point in the history
  • Loading branch information
presidentbeef committed Oct 9, 2022
1 parent 758295e commit 87f87d4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ LABEL maintainer="Justin Collins <gem@brakeman.org>"

WORKDIR /usr/src/app

# Create user named app with uid=9000, give it ownership of /usr/src/app
RUN adduser -u 9000 -D app && \
chown -R app:app /usr/src/app
USER app

# Copy our Gemfile (and related files) *without* copying our actual source code yet
COPY Gemfile* *.gemspec gem_common.rb ./
# Copy lib/brakeman/version.rb so that bundle install works
Expand Down

0 comments on commit 87f87d4

Please # to comment.