Skip to content

Commit 06d8fa4

Browse files
committed
Merge pull request #2 from codeclimate/gd-user
Add app user
2 parents ebd73f8 + 0e17fb5 commit 06d8fa4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ RUN bundle install -j 4 && \
99
bundle-audit update && \
1010
apk del build-base && rm -fr /usr/share/ri
1111

12+
RUN adduser -u 9000 -D app
13+
USER app
14+
1215
COPY . /usr/src/app
1316

1417
CMD ["/usr/src/app/bin/bundler-audit"]

0 commit comments

Comments
 (0)