doc | ||
gradle/wrapper | ||
src | ||
.gitignore | ||
build.gradle | ||
Dockerfile | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
micronaut-cli.yml | ||
README.md | ||
settings.gradle |
Hello Micronaut
Test micronaut web application.
Container
Build container
docker build -t hellomicronaut .
Run container
docker run --name hello1 -p 8080:8080 hellomicronaut
Development
Requires Java JDK version 11+.
Build
./gradlew build
Run
./gradlew run -t
Test with browser
Connect to the container or localhost on the specified port: