Skip to content

Commit

Permalink
docs(readme): run docker image as a non-root user by default
Browse files Browse the repository at this point in the history
close #487
  • Loading branch information
tchiotludo committed Nov 4, 2020
1 parent 7323bff commit 7a14c0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ FROM openjdk:11-jre-slim
WORKDIR /app
COPY docker /
ENV MICRONAUT_CONFIG_FILES=/app/application.yml
USER 10001
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["./akhq"]

0 comments on commit 7a14c0e

Please sign in to comment.