Fix bind-mount volume path "client/client"

yarn will otherwise complain about missing client/package.json
	in "make client-test"

Signed-off-by: Daniel Holbach <daniel@weave.works>
This commit is contained in:
Daniel Holbach
2019-01-15 09:29:09 +05:30
parent 237e931c34
commit 3ceb987608

View File

@@ -183,7 +183,7 @@ client/build-external/index.html: $(shell find client/app -type f) $(SCOPE_UI_TO
client-test: $(shell find client/app/scripts -type f) $(SCOPE_UI_TOOLCHAIN_UPTODATE)
$(SUDO) docker run $(RM) $(RUN_FLAGS) \
-v $(shell pwd)/.cache:/home/weave/scope/.cache \
-v $(shell pwd)/client/client:/home/weave/scope/client \
-v $(shell pwd)/client:/home/weave/scope/client \
-v $(shell pwd)/$(SCOPE_UI_TOOLCHAIN):/home/weave/scope/client/node_modules \
-w /home/weave/scope/client \
$(SCOPE_UI_BUILD_IMAGE) yarn test