diff --git a/Makefile b/Makefile index 2d00ee923..b5b4fb713 100644 --- a/Makefile +++ b/Makefile @@ -152,6 +152,7 @@ local: ## Make a local site with codebase directory bind mounted, using starter site unless other package specified in .env or present already. starter: QUOTED_CURDIR = "$(CURDIR)" starter: generate-secrets + $(MAKE) set-files-owner SRC=$(CURDIR)/codebase ENVIRONMENT=starter $(MAKE) starter-init ENVIRONMENT=starter if [ -z "$$(ls -A $(QUOTED_CURDIR)/codebase)" ]; then \ docker container run --rm -v $(CURDIR)/codebase:/home/root -u nginx $(REPOSITORY)/nginx:$(TAG) bash -c 'composer create-project $(CODEBASE_PACKAGE) /tmp/codebase && mv /tmp/codebase/* /home/root'; \