Skip to content

Commit

Permalink
Using non-root user (#215)
Browse files Browse the repository at this point in the history
* Creating and using non-root user

* Using non-root user
  • Loading branch information
tendestad committed May 28, 2024
1 parent 6476410 commit e79f1e3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@ ENV DISABLE_PDF_GET="true"
ENV ENABLE_HTML_ENDPOINT="false"

EXPOSE 8080

USER nonroot

CMD [ "app.jar" ]

0 comments on commit e79f1e3

Please sign in to comment.