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-appRun the app:
sh cmd/run.shSend a request to the app:
curl localhost:80Build the image:
docker build -t gce-demo-web-app-image .Get the image ID:
docker imagesTag the image:
docker tag <image_id> stewblr/gce-demo-web-app-image:latestPush the image:
docker push stewblr/gce-demo-web-app-image:latestFollow these instructions
and, under Container image, specify registry.hub.docker.com/stewblr/gce-demo-web-app-image:latest .