hello-world-sg4-service/buildImageAndStartWithDebug.sh

3 lines
204 B
Bash
Executable File

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