File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ RUN ./mvnw package
2020#
2121# Then run the container using:
2222#
23- # docker run -i --rm -p 8080:8080 quarkus/code-with-quarkus-jvm
23+ # docker run -i --rm -p 8081:8081 quarkus/code-with-quarkus-jvm
2424#
2525# If you want to include the debug port into your docker image
2626# you will have to expose the debug port (default 5005) like this : EXPOSE 8080 5050
@@ -50,7 +50,7 @@ RUN microdnf install curl ca-certificates ${JAVA_PACKAGE} \
5050 && echo "securerandom.source=file:/dev/urandom" >> /etc/alternatives/jre/lib/security/java.security
5151
5252# Configure the JAVA_OPTIONS, you can add -XshowSettings:vm to also display the heap size.
53- ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Djava.util.logging.manager=org.jboss.logmanager.LogManager"
53+ ENV JAVA_OPTIONS="-Dquarkus.http.host=0.0.0.0 -Dquarkus.http.port=8081 - Djava.util.logging.manager=org.jboss.logmanager.LogManager"
5454# We make four distinct layers so if there are application changes the library layers can be re-used
5555COPY --from=0 --chown=1001 /tmp/target/quarkus-app/lib/ /deployments/lib/
5656COPY --from=0 --chown=1001 /tmp/target/quarkus-app/*.jar /deployments/
You can’t perform that action at this time.
0 commit comments