neo7337 / api_server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API SERVER

Commands

docker build -t "<IMAGE_NAME>:<VERSION>" .
docker tag <IMAGE_NAME>:<VERSION> gcr.io/<PROJECT_ID>/<IMAGE_NAME>:latest
docker push gcr.io/<PROJECT_ID>/<IMAGE_NAME>:latest
docker run --publish 5000:8989 --name server <IMAGE_NAME>:<VERSION>

//Kill a running container

docker rm --force server

After pushing the image to Google Container Registry, we can deploy it on VM Instances, Google Kubernetes Engine, Google App Engine

About


Languages

Language:JavaScript 92.3%Language:Dockerfile 7.7%