This message was deleted.
# dotnet
s
This message was deleted.
b
I managed to solve this one myself. For anyone else with the same issue, instead of using a string for Build which is set to the directory containing the Dockerfile, instead use the following:
Build = new Docker.DockerBuild() { Context = "../relative_path_of_directory_you_want_to_be_provided_to_the_dockerfile", Dockerfile = "../path_to_docker_directory/Dockerfile" }