I have a Visual Studio solution with two projects. I would like to have the Dockerfile at the same level as my solution file (sln) instead of having it inside my API project (default behavior). I have tried several options, even adding to my API project:
<PropertyGroup>
<DockerfileContext>../Dockerfile</DockerfileContext>
</PropertyGroup>
However, Visual Studio is complaining "Error CTC1023 No Dockerfile could be found. Please make sure you have a Dockerfile called 'Dockerfile' adjacent to the project file"
Is it possible to have Docker integration with Visual Studio and place dockerfile at sln level?