- docker build -t gptserver .
- docker run -p 5000:5000 gptserver
1. Push image into Azure Container Registry
Run commands locally
docker build -t gptserver .
docker tag gptserver gptbotacr.azurecr.io/gptserver
az login # login with junnor.gan@gmail.com
az acr login --name gptbotacr
docker push gptbotacr.azurecr.io/gptserver
Here's the link of our app service resource
When you push the image into the acr, you should wait 2-3 minutes syncing this new image in our app service. You don't need to deploy app service manually.
for example: http://gpt-backend.azurewebsites.net/testget