/payaraac2016

Primary LanguageJavaMIT LicenseMIT

Hello, world! on Docker payara/micro

Payara Advent Calendar 2016

Prepare

cd helloworld
gradlew build
cd ..

Run

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

License

Licensed under The MIT License