Skip to content
This repository has been archived by the owner on Mar 28, 2020. It is now read-only.

Commit

Permalink
Docker support #6
Browse files Browse the repository at this point in the history
Formatting
  • Loading branch information
sergeytrasko committed Sep 27, 2017
1 parent ac28988 commit 54397a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ COPY --from=build /opt/app/api/build/libs/api.jar .

# Create new user to run application on behalf of
RUN addgroup -S -g 1001 app \
&& adduser -D -S -G app -u 1001 -s /bin/ash app \
&& adduser -D -S -G app -u 1001 -s /bin/ash app \
&& chown -R app:app /opt/app

USER app
Expand Down

0 comments on commit 54397a7

Please sign in to comment.