You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This concerns the section Extend continuous integration to source control by using a Container Registry task of the MSLearn unit Update the image and automatically redeploy the web app in Deploy and run a containerized web app with Azure App Service .
Because there is now a dotnet folder, the bash script az acr task create --registry <container_registry_name> --name buildwebapp --image webimage --context https://github.com/MicrosoftDocs/mslearn-deploy-run-container-app-service.git --branch master --file Dockerfile --git-access-token <access_token> does not work any longer because the Dockerfile will not be found this way.
There are 2 possible solutions:
The documentation of MSLearn is updated to run the right Dockerfile
The Dockerfile is moved to the root of the repository (and is updated accordingly)
The text was updated successfully, but these errors were encountered:
To run the az cli command, the parameter --file requires an arg which is the relative path of the dockerfile file(for the node app the path is node/Dockerfile). You need to edit the copy function in the Dockerfile COPY /node/. /app
In the case of the node app the command that works is;
Please fix this. How do you release | update Microsoft training material that doesnt work?
I had to copy this to my own Github to get it working, in the main branch.
This concerns the section
Extend continuous integration to source control by using a Container Registry task
of the MSLearn unitUpdate the image and automatically redeploy the web app
inDeploy and run a containerized web app with Azure App Service
.Because there is now a
dotnet
folder, the bash scriptaz acr task create --registry <container_registry_name> --name buildwebapp --image webimage --context https://github.com/MicrosoftDocs/mslearn-deploy-run-container-app-service.git --branch master --file Dockerfile --git-access-token <access_token>
does not work any longer because the Dockerfile will not be found this way.There are 2 possible solutions:
The text was updated successfully, but these errors were encountered: