41 lines
462 B
Markdown
41 lines
462 B
Markdown
# Hello Micronaut
|
|
|
|
Test micronaut web application.
|
|
|
|
## Container
|
|
|
|
### Build container
|
|
|
|
```shell
|
|
docker build -t hellomicronaut .
|
|
```
|
|
|
|
### Run container
|
|
|
|
```shell
|
|
docker run --name hello1 -p 8080:8080 hellomicronaut
|
|
```
|
|
|
|
## Development
|
|
|
|
Requires Java JDK version 11+.
|
|
|
|
### Build
|
|
|
|
```shell
|
|
./gradlew build
|
|
```
|
|
|
|
### Run
|
|
|
|
```shell
|
|
./gradlew run -t
|
|
```
|
|
|
|
|
|
## Test with browser
|
|
|
|
Connect to the container or localhost on the specified port:
|
|
|
|
<http://localhost:8080/>
|