diff --git a/build/build.go b/build/build.go index 5e748b55..fb336b61 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 == "" {