Now let's containerize our application by adding some additional files and modifying the ASP.NET Core build and publishing process:
- As the first step, right-click on the MusicStore web project and navigate to Add | New Folder, name it Docker. This folder will hold all the artifacts which provide the necessary support for converting the application into a Windows Server Container.
- Now add a new file called Dockerfile to the project. Right-click on the Docker folder we just created, navigate to Add | New Item....
- Select any file type ...