Skip to content

Commit ec0af1c

Browse files
committed
add docker run example call
1 parent 1ba7352 commit ec0af1c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33

44
This sample shows how to build a Javalin microservice and compiling it to native code with GraalVM. I don't expect it to work on anything else than Linux AMD64.
55

6+
Try it out:
7+
```
8+
docker run -d --init -p 7000:7000 birdy/graal-javalin
9+
curl localhost:7000
10+
```
11+
612
Build either by using Docker and running `docker build .` or directly with Gradle and native-image by running `make build native`.
713

814
Find the docker image of this example on [DockerHub](https://hub.docker.com/r/birdy/graal-javalin).

0 commit comments

Comments
 (0)