In the demo you will create new image from web app project and push it in ACR
- Install Docker Desktop
- Visual Studio Core
- Net 5.0
-
Docker desktop must be run.
-
Open in VS Code folder CSharp and observer project.
-
Run the web site locally by use command dotnet run
-
Open
Dockerfile
-
Open run.azcli to build image. Script should be executed in the project folder.
-
Run command from script line by line to build and tag the image.
-
Run the docker image locally to observe the result.
-
Open localhost to make sure that container created and run successful.
- Run the command from script to push the image in ACR you previously deploy.