Skip to content

Commit

Permalink
Merge pull request #24 from hotungkhanh/np-0000/docker-command
Browse files Browse the repository at this point in the history
docs(container): add docker command to include env variables on run
  • Loading branch information
FlyingPufferFish authored Sep 29, 2024
2 parents 3529c38 + 41fa862 commit d1c6945
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions backend/src/main/docker/Dockerfile.jvm
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
#
# docker run -i --rm -p 8080:8080 quarkus/backend-jvm
#
# TO PASS IN ENV VARIABLES ON RUNNING THE CONTAINER, USE:
#
# docker run -i --env-file .env --rm -p 8080:8080 quarkus/backend-jvm
#
# If you want to include the debug port into your docker image
# you will have to expose the debug port (default 5005 being the default) like this : EXPOSE 8080 5005.
# Additionally you will have to set -e JAVA_DEBUG=true and -e JAVA_DEBUG_PORT=*:5005
Expand Down

0 comments on commit d1c6945

Please sign in to comment.