diff options
| author | Derrick Schwabe <[email protected]> | 2022-03-24 14:19:47 -0600 |
|---|---|---|
| committer | Derrick Schwabe <[email protected]> | 2022-03-24 14:19:47 -0600 |
| commit | b1c20e9e4c70f7ec9f42e932844232864613db8b (patch) | |
| tree | 1c47db9a9b4822192c7a19bd938ddb7a25b2d871 /doc | |
| parent | 4627741a86a2f66680da019c712e1ed79619ea55 (diff) | |
| download | coinos-server-b1c20e9e4c70f7ec9f42e932844232864613db8b.tar.gz coinos-server-b1c20e9e4c70f7ec9f42e932844232864613db8b.zip | |
Do not mount /app dir to container for staging, only logs and config,
brief README update and also update to staging-build WIP Doc
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/staging-build.md | 4 |
1 files changed, 3 insertions, 1 deletions
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' + ``` |
