diff --git a/Dockerfile b/Dockerfile index 95573f21..f26cc8ad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ FROM registry.access.redhat.com/ubi8/openjdk-11 COPY target/*.jar /opt/spring-petclinic.jar +ENV JAVA_TOOL_OPTIONS -agentlib:jdwp=transport=dt_socket,address=8080,server=y,suspend=n CMD java -jar /opt/spring-petclinic.jar EXPOSE 8080