Latest commit 505b13a Sep 15, 2018


Sample project for Ktor running as an application with inside Docker.


Execute this command in the repository's root directory to run this sample:

./gradlew :docker:run

To build and run a docker image:

./gradlew :docker:build
docker build -t ktor-docker-sample-application deployment/docker
docker run -m512M --cpus 2 -it -p 8080:8080 --rm ktor-docker-sample-application

And navigate to http://localhost:8080/ to see the sample home page.