hello-world-service/buildImageAndStartWithDebug.sh

3 lines
204 B
Bash
Raw Normal View History

2024-02-21 11:44:41 +01:00
mvn package
docker build -t smartgears-helloworld .
docker run -p 8080:8080 -p 5005:5005 -e JAVA_TOOL_OPTIONS="-agentlib:jdwp=transport=dt_socket,address=*:5005,server=y,suspend=y" smartgears-helloworld