Make sure public is created before docker is run or else it will be owned by root

makefile
Stein Ivar Berghei 2022-11-21 12:28:52 +01:00
parent 8727594413
commit 8ccc426618
1 changed files with 4 additions and 1 deletions

View File

@ -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) $@