cd helloworld
gradlew build
cd ..
docker run -d --name=helloworld -p 8080:8080 \
-v `pwd`/helloworld/build/libs:/opt/payara/deployments:ro \
payara/micro java -jar /opt/payara/payara-micro.jar \
--deploy /opt/payara/deployments/helloworld.war
Licensed under The MIT License