aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
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