An open API service indexing awesome lists of open source software.

https://github.com/samlet/ktor.play


https://github.com/samlet/ktor.play

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# Docker

Sample project for [Ktor](http://ktor.io) running as an application with
inside [Docker](https://www.docker.com/).

## Running

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

```bash
./gradlew :docker:run
```

To build and run a docker image:

```bash
./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/](http://localhost:8080/) to see the sample home page.