This project uses Quarkus, the Supersonic Subatomic Java Framework.
docker run -i --rm -p 8080:8080 -p 5005:5005 -e JAVA_ENABLE_DEBUG="true" quarkus/code-with-quarkus-jvm
mvn compile quarkus:dev
The application can be packaged using:
mvn package
It produces the quarkus-demo-1.0.0-SNAPSHOT-runner.jar
file in the /target
directory. The application is now runnable using java -jar target/quarkus-demo-1.0.0-SNAPSHOT-runner.jar
.
docker build -f src/main/docker/Dockerfile.jvm -t demo/quarkus-demo .
docker run -i --rm -p 8080:8080 -p 5005:5005 -e JAVA_ENABLE_DEBUG="true" demo/quarkus-demo
If you want to learn more about Quarkus, please visit its website: https://quarkus.io/
Thanks for reading. Happy Learning !!!