From 165a49d255c03bee5a1c23d13be62842ceda2b92 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Mon, 23 Aug 2021 10:53:28 +0300 Subject: [PATCH] nuget --- Notes.txt | 14 +++++++------- NuGet.config | 3 ++- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/Notes.txt b/Notes.txt index aea926d..5ebe94e 100644 --- a/Notes.txt +++ b/Notes.txt @@ -8,34 +8,34 @@ Docker commands: Create image: --from solution folder: -docker image build -t "chatbot-api:1.0.4" -f "Chatbot.Api/Dockerfile" . +docker image build -t "chatbot-api:1.0.5" -f "Chatbot.Api/Dockerfile" . Run image: -docker run -p 5053:80 -it chatbot-api:1.0.4 +docker run -p 5053:80 -it chatbot-api:1.0.5 Push image to registry: --tag image -docker tag chatbot-api:1.0.4 cloud.canister.io:5000/tstanciu/chatbot:api-1.0.4 +docker tag chatbot-api:1.0.5 cloud.canister.io:5000/tstanciu/chatbot:api-1.0.5 --login to registry docker login --username=tstanciu --password="***REMOVED***" cloud.canister.io:5000 --push image -docker push cloud.canister.io:5000/tstanciu/chatbot:api-1.0.4 +docker push cloud.canister.io:5000/tstanciu/chatbot:api-1.0.5 Pull image from registry --login to registry with readonly rights docker login --username=deploy+tstanciu --password=***REMOVED*** cloud.canister.io:5000 --pull image -docker pull cloud.canister.io:5000/tstanciu/chatbot:api-1.0.4 +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.4 +docker run --restart=always -p 5006:80 -d cloud.canister.io:5000/tstanciu/chatbot:api-1.0.5 Rename container docker rename chatbot-api ############################################################################################## -Docker container last version: 1.0.4 +Docker container last version: 1.0.5 ############################################################################################## \ No newline at end of file diff --git a/NuGet.config b/NuGet.config index cfe1f51..0ee60ed 100644 --- a/NuGet.config +++ b/NuGet.config @@ -3,6 +3,7 @@ - + + \ No newline at end of file