From b1c20e9e4c70f7ec9f42e932844232864613db8b Mon Sep 17 00:00:00 2001 From: Derrick Schwabe Date: Thu, 24 Mar 2022 14:19:47 -0600 Subject: Do not mount /app dir to container for staging, only logs and config, brief README update and also update to staging-build WIP Doc --- doc/staging-build.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/staging-build.md b/doc/staging-build.md index e0a0cfce..294dc411 100644 --- a/doc/staging-build.md +++ b/doc/staging-build.md @@ -10,7 +10,9 @@ Also build the UI for staging: ``` docker build -t coinos-ui-staging:0.1.0 -f Dockerfile.stage . -docker run --rm --mount type=bind,source="$(pwd)",destination=/app --user $UID:$GID coinos-ui-staging:0.1.0 pnpm stage +#spit out the build: +docker run --rm -v $(pwd)/dist:/dist coinos-ui-staging:0.1.0 bash -c 'cd app; pnpm stage; cp -rf dist/* /dist' + ``` -- cgit v1.2.3