In the demo you will create new image from web app project and push it in ACR
- Install Docker Desktop
- Visual Studio Core
- Node 16
-
Docker Desktop must be run.
-
Open in VS Code Nodejs folder with web site.
-
Restore packages by command npm instal
-
Run the web site locally by use play button or run command node .\server.js.
-
Visit http://localhost:9090 url to make sure that web app works.
-
In VS Code open
DockerFile
. -
Open run.azcli to build image. Run line by line to build and tag the image.
-
Run the docker image locally to observe the result.
- Run the command from script to push the image in ACR you previously deploy.