Skip to content

Instantly share code, notes, and snippets.

@wesleyegberto
Created April 26, 2020 08:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save wesleyegberto/1089d3d785af7c340e714d879b4a7a55 to your computer and use it in GitHub Desktop.
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)
# 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