aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDerrick Schwabe <[email protected]>2022-03-16 14:07:12 -0600
committerDerrick Schwabe <[email protected]>2022-03-16 18:25:35 -0600
commitb40e2521a4956f5784e3a73b1dcbc4c3d5e63b0b (patch)
treefcbd230dbb336281b41fa10862f51ac6a21c1c76 /doc
parenta1ccd117d778801c320953dcfc27c98488e93a2e (diff)
downloadcoinos-server-b40e2521a4956f5784e3a73b1dcbc4c3d5e63b0b.tar.gz
coinos-server-b40e2521a4956f5784e3a73b1dcbc4c3d5e63b0b.zip
WIP updated/new staging pipeline and compose conf
Diffstat (limited to 'doc')
-rw-r--r--doc/staging-build.md22
1 files changed, 22 insertions, 0 deletions
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