/micronaut-native-hello

There sample project with micronaut framework with AOT compilation

Primary LanguageDockerfile

Micronaut Hello Project

Build application

There are required Java 11 to be installed!

Windows:

gradlew clean build

Linux / MacOS:

./gradlew clean build

Run the application

# Docker routine
docker build . -t micronaut-hello --no-cache -m 16g
docker run -p 8080:8080  micronaut-hello:latest

Ensure you run graalvm native build against relevant Java version