diff --git a/build/build.go b/build/build.go index 84fe4de9..f6c7eb21 100644 --- a/build/build.go +++ b/build/build.go @@ -784,6 +784,7 @@ func LoadInputs(inp Inputs, target *client.SolveOpt) (func(), error) { return nil, err } toRemove = append(toRemove, dockerfileDir) + dockerfileName = "Dockerfile" } if dockerfileName == "" {