Scenario: the Dockerfile is in another location outside of the docker build context.
Solution: navigate to the source directory in Powershell and execute the following line:
PS D:\SourceCode> docker build -f ..\..\Repos\docker-nunit\Dockerfile .
Scenario: the Dockerfile is in another location outside of the docker build context.
Solution: navigate to the source directory in Powershell and execute the following line:
PS D:\SourceCode> docker build -f ..\..\Repos\docker-nunit\Dockerfile .