notes
parent
7e489b117c
commit
bf25431d5e
|
@ -8,7 +8,7 @@ Docker commands:
|
||||||
|
|
||||||
Create image:
|
Create image:
|
||||||
--from solution folder:
|
--from solution folder:
|
||||||
docker image build -t "chatbot-api:1.0.4" -f "Chatbot.Api/Dockerfile" .docker
|
docker image build -t "chatbot-api:1.0.4" -f "Chatbot.Api/Dockerfile" .
|
||||||
|
|
||||||
Run image:
|
Run image:
|
||||||
docker run -p 5053:80 -it chatbot-api:1.0.4
|
docker run -p 5053:80 -it chatbot-api:1.0.4
|
||||||
|
@ -34,7 +34,7 @@ Run container in prod env
|
||||||
docker run --restart=always -p 5006:80 -d cloud.canister.io:5000/tstanciu/chatbot:api-1.0.4
|
docker run --restart=always -p 5006:80 -d cloud.canister.io:5000/tstanciu/chatbot:api-1.0.4
|
||||||
|
|
||||||
Rename container
|
Rename container
|
||||||
docker rename <containet_id> chatbot-api
|
docker rename <container_id> chatbot-api
|
||||||
##############################################################################################
|
##############################################################################################
|
||||||
|
|
||||||
Docker container last version: 1.0.4
|
Docker container last version: 1.0.4
|
||||||
|
|
Loading…
Reference in New Issue