/speakops-be

Primary LanguageC#MIT LicenseMIT

speakops-be

Build Status

Useful docker commands

To build:

docker build -t moretonb/speakops-be:lastest .

To view latest two docker images:

docker images | head -n2

To run:

docker run -d -t -p 5000:5000 --name speakops-be speakops-be:lastest

To check logs:

docker logs speakops-be

To remove:

docker rm speakops-be

To login:

docker login

To push image up to docker hub (kicks off a deployment if tagged as latest):

docker push moretonb/speakops-be:latest

Azure Web App for Containers

Gotchas:

  • Make sure the appsetting WEBSITES_PORT hooks up the right port on the container (WEBSITES_PORT=5000)

Postman collection for use with a running local docker image

Run in Postman