Created
April 26, 2020 08:17
-
-
Save wesleyegberto/1089d3d785af7c340e714d879b4a7a55 to your computer and use it in GitHub Desktop.
Dockerfile to build docker image for development (supports live reload and debug by attaching to the remote JVM)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# docker run -d --rm --name my-app --network dkrnet -p 8080:8080 my-app | |
FROM maven:3.6.3-jdk-13 | |
COPY pom.xml /workspace/ | |
COPY src /workspace/src/ | |
WORKDIR /workspace/ | |
CMD ["mvn", "compile", "quarkus:dev", "-Dquarkus.live-reload.password=123"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment