This is a small demo app that can be containerized and deployed to Google Compute Engine.
Get the repo:
git clone https://github.com/stew-r/gce-demo-web-app.git`
Navigate to the directory:
cd gce-demo-web-app
Run the app:
sh cmd/run.sh
Send a request to the app:
curl localhost:80
Build the image:
docker build -t gce-demo-web-app-image .
Get the image ID:
docker images
Tag the image:
docker tag <image_id> stewblr/gce-demo-web-app-image:latest
Push the image:
docker push stewblr/gce-demo-web-app-image:latest
Follow these instructions
and, under Container image, specify registry.hub.docker.com/stewblr/gce-demo-web-app-image:latest
.