Created
July 21, 2019 08:45
-
-
Save kaysush/cc4ec9a09242d503591029d85fcd6685 to your computer and use it in GitHub Desktop.
remote debug enabled dockerfile
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
FROM openjdk:8 | |
WORKDIR /app | |
ENV JAVA_TOOL_OPTIONS -agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n | |
COPY remote-debugging-1.0-SNAPSHOT.jar remote-debugging.jar | |
ENTRYPOINT ["java", "-cp", "remote-debugging.jar", "com.kaysush.App"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment