Skip to content

Commit bcc4094

Browse files
committed
Add app user
1 parent 6ef9d64 commit bcc4094

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
@@ -8,6 +8,9 @@ RUN apk --update add ruby ruby-dev ruby-bundler build-base && \
88
bundle install -j 4 && \
99
apk del build-base && rm -fr /usr/share/ri
1010

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

1316
CMD ["/usr/src/app/bin/codeclimate-rubocop"]

0 commit comments

Comments
 (0)