####################################################################################################################################################### Publish: dotnet publish --configuration Release --runtime win7-x64 Create windows service: sc create Tuitio.Api binPath= "" ####################################################################################################################################################### ####################################################################################################################################################### Push language package: dotnet nuget push Tuitio.PublishedLanguage.1.1.0.nupkg -k ******** -s http://********/NuGetServer/nuget dotnet nuget push Tuitio.Wrapper.1.1.0.nupkg -k ******** -s http://********/NuGetServer/nuget ####################################################################################################################################################### TO DO: - Cache for users ####################################################################################################################################################### Docker commands: ***************** Create image: --from solution folder: docker image build -t "identity-server-api:1.0.1" -f "Tuitio.Api/Dockerfile" . Run image: docker run -p 5053:80 -it identity-server-api:1.0.1 Push image to registry: --tag image docker tag identity-server-api:1.0.1 cloud.canister.io:5000/tstanciu/identity-server:api-1.0.1 --login to registry docker login --username=tstanciu --password="********" cloud.canister.io:5000 --push image docker push cloud.canister.io:5000/tstanciu/identity-server:api-1.0.1 Pull image from registry --login to registry with readonly rights docker login --username=******** --password=******** cloud.canister.io:5000 --pull image docker pull cloud.canister.io:5000/tstanciu/identity-server:api-1.0.1 Run container in prod env docker run --restart=always -p 5007:80 -d cloud.canister.io:5000/tstanciu/identity-server:api-1.0.1 Rename container docker rename identity-server-api ####################################################################################################################################################### Docker container last version: 1.0.1 ##############################################################################################