From b40e2521a4956f5784e3a73b1dcbc4c3d5e63b0b Mon Sep 17 00:00:00 2001 From: Derrick Schwabe Date: Wed, 16 Mar 2022 14:07:12 -0600 Subject: WIP updated/new staging pipeline and compose conf --- doc/staging-build.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 doc/staging-build.md (limited to 'doc') diff --git a/doc/staging-build.md b/doc/staging-build.md new file mode 100644 index 00000000..e0a0cfce --- /dev/null +++ b/doc/staging-build.md @@ -0,0 +1,22 @@ +To build staging locally do: + +```bash +docker build -t coinos-server-staging:0.0.1 -f staging.Dockerfile . +``` + + +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 +``` + + +To run staging: + +``` +docker-compose -f docker-compose.yml -f docker-compose.dev.yml -f docker-compose.staging.yml up + +``` \ No newline at end of file -- cgit v1.2.3