hello-world-service/buildImageAndStart.sh

10 lines
141 B
Bash
Executable File

mvn clean package
NAME=smartgears-helloworld
PORT=8081
DEBUG_PORT=5001
docker build -t $NAME.
docker run -p $PORT:8080 --name $NAME $NAME