Skip to content

Commit

Permalink
docs(container): 📝 add docker command to include env variables on run
Browse files Browse the repository at this point in the history
  • Loading branch information
FlyingPufferFish committed Sep 29, 2024
1 parent 3529c38 commit 41fa862
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 41fa862

Please sign in to comment.