diff --git a/Makefile b/Makefile index 4e7491942..2a2217778 100644 --- a/Makefile +++ b/Makefile @@ -124,7 +124,7 @@ run: manifests generate fmt vet ## Run a controller from your host. # More info: https://docs.docker.com/develop/develop-images/build_enhancements/ .PHONY: docker-build docker-build: test ## Build docker image with the manager. - docker build -t ${IMG} . + docker build -t ${IMG} . -f Dockerfile .PHONY: docker-push docker-push: ## Push docker image with the manager.