build

docker build -t ktor-app .

run

docker run -p 8080:8080 ktor-app

test

curl http://localhost:8080/json