|
|
@ -7,18 +7,18 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Then, build the image with:
|
|
|
|
# Then, build the image with:
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# docker build -f src/main/docker/Dockerfile.legacy-jar -t quarkus/code-with-quarkus-legacy-jar .
|
|
|
|
# docker build -f src/main/docker/Dockerfile.legacy-jar -t quarkus/observer-legacy-jar .
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Then run the container using:
|
|
|
|
# Then run the container using:
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# docker run -i --rm -p 8080:8080 quarkus/code-with-quarkus-legacy-jar
|
|
|
|
# docker run -i --rm -p 8080:8080 quarkus/observer-legacy-jar
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# If you want to include the debug port into your docker image
|
|
|
|
# If you want to include the debug port into your docker image
|
|
|
|
# you will have to expose the debug port (default 5005) like this : EXPOSE 8080 5005
|
|
|
|
# you will have to expose the debug port (default 5005) like this : EXPOSE 8080 5005
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Then run the container using :
|
|
|
|
# Then run the container using :
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# docker run -i --rm -p 8080:8080 quarkus/code-with-quarkus-legacy-jar
|
|
|
|
# docker run -i --rm -p 8080:8080 quarkus/observer-legacy-jar
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# This image uses the `run-java.sh` script to run the application.
|
|
|
|
# This image uses the `run-java.sh` script to run the application.
|
|
|
|
# This scripts computes the command line to execute your Java application, and
|
|
|
|
# This scripts computes the command line to execute your Java application, and
|
|
|
|