diff --git a/Notes.txt b/Notes.txt index 5ebe94e..fff0cb5 100644 --- a/Notes.txt +++ b/Notes.txt @@ -30,11 +30,17 @@ docker login --username=deploy+tstanciu --password=***REMOVED*** cloud.canister. --pull image docker pull cloud.canister.io:5000/tstanciu/chatbot:api-1.0.5 -Run container in prod env -docker run --restart=always -p 5006:80 -d cloud.canister.io:5000/tstanciu/chatbot:api-1.0.5 +Stop old container +docker stop chatbot-api && docker rm chatbot-api -Rename container -docker rename chatbot-api +Run container in prod env +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