APACHE-2.0 License
sbt assembly
- this will create a fat-jar with the serverdocker build .
. Note the final image id.docker run --rm -p 9090:8080 [image id]
curl "http://localhost:9090/hello"
curl "http://localhost:9090/counter/c1"
curl -XPOST "http://localhost:9090/counter/c1?amount=1234"
You can also get a ready image from the Docker index.