master
Tudor Stanciu 2021-08-23 11:14:06 +03:00
parent 165a49d255
commit 8d02114553
1 changed files with 10 additions and 4 deletions

View File

@ -30,11 +30,17 @@ docker login --username=deploy+tstanciu --password=***REMOVED*** cloud.canister.
--pull image --pull image
docker pull cloud.canister.io:5000/tstanciu/chatbot:api-1.0.5 docker pull cloud.canister.io:5000/tstanciu/chatbot:api-1.0.5
Run container in prod env Stop old container
docker run --restart=always -p 5006:80 -d cloud.canister.io:5000/tstanciu/chatbot:api-1.0.5 docker stop chatbot-api && docker rm chatbot-api
Rename container Run container in prod env
docker rename <container_id> chatbot-api docker run -d --name chatbot-api --restart=always -p 5006:80 cloud.canister.io:5000/tstanciu/chatbot:api-1.0.5
Remove old image
docker rmi cloud.canister.io:5000/tstanciu/chatbot:api-1.0.4
Logs
docker logs chatbot-api
############################################################################################## ##############################################################################################
Docker container last version: 1.0.5 Docker container last version: 1.0.5