From the course: Azure for DevOps: Continuous Integration

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Building deployable images

Building deployable images - Azure Tutorial

From the course: Azure for DevOps: Continuous Integration

Start my 1-month free trial

Building deployable images

- [Instructor] To deploy a Docker image from Azure DevOps we're first going to need to put some things in our project like YAML files for Docker, and then we're also going to need to log into Azure and create some services like a container registry and an app service plan. If you have access to the exercise files for this video you'll find a project called ContainerWebApp. Now I've already gone and created these build files here, docker-compose-ci for continuous integration, as well as docker-compose.yaml. But if we take a look at them you see here that we are using ASP NET Core 3.1, and the project itself, if I were to right-click and go to Edit Project File, you'll see that this is targeting .NET Core 3.1. I also have a docker-compose, which is going to create our Docker file using a file called Docker File inside the ContainerWebApp project. What this Docker file does, very simply, is pull the SDK 3.1 from Microsoft,…

Contents