Skip to content

Commit

Permalink
add change ownership prior to starter-init
Browse files Browse the repository at this point in the history
  • Loading branch information
DonRichards authored Aug 12, 2024
1 parent d21a639 commit c75aa5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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'; \
Expand Down

0 comments on commit c75aa5e

Please sign in to comment.