This is a Kweb hello world app to get started on Google App Engine flexible environment. The Dockerfile was taken from the ktor sample.
To run locally (docker must be installed):
./gradlew build
docker build -t helloworld .
docker run -m512M --cpus 2 -it -p 8080:8080 --rm helloworld
To deploy (gcloud
must be configured):
./gradlew build
gcloud app deploy
This repository may be bloated with unnecessary code, and be poorly organised, I simply got it to work and stopped 🙃.