We are trying to use Azure Pipelines to build Docker image for a Dot Net Core App. When setting up the pipeline if I check "default build context" will it automatically pick the Dockerfile from my root directory?
Dockerfile is currently in the root directory but I want to move the Dockerfile inside the api project. How do I setup the pipeline so the docker build command is executed from root directory but refer to Dockerfile inside the project?