From 8ccc426618c9be5a274481c945c5a7f39bf51836 Mon Sep 17 00:00:00 2001 From: Stein Ivar Berghei Date: Mon, 21 Nov 2022 12:28:52 +0100 Subject: [PATCH] Make sure public is created before docker is run or else it will be owned by root --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index baaa8c1..9319431 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,10 @@ image: .jsimage src/node_modules: mkdir -p $@ -src/yarn.lock: src/node_modules src/package.json +public: + mkdir -p $@ + +src/yarn.lock: public src/node_modules src/package.json $(YARN) @touch -mr $(shell ls -Atd $? | head -1) $@