Update documentation

parent 00cd138b
......@@ -11,4 +11,4 @@ pom.xml.asc
.hg/
*.iml
.idea/
jetty-graalvm-hello-world-0.1.0-SNAPSHOT-standalone
\ No newline at end of file
app-standalone
\ No newline at end of file
......@@ -6,13 +6,13 @@ Simple proof of concept Jetty server in Clojure using GraalVM.
* ~1 ms startup time.
* ~14 MB docker image.
* Pure Clojure.
## Building and running locally
$ lein uberjar
$ $HOME/graalvm/bin/native-image \
--static \
-J-Xmx3G -J-Xms3G --no-server \
-jar target/app-standalone.jar
......@@ -24,12 +24,9 @@ Simple proof of concept Jetty server in Clojure using GraalVM.
$ curl localhost:8080
Hello World! 你好,世界!
## Building with docker
$ docker build --tag=my-app .
$ docker run -p 8080:8080 --name my-app my-app
## Building and running with docker
$ ./docker-run.sh
## License
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment