aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-02-09 17:53:26 -0800
committerAdam Soltys <[email protected]>2026-02-11 15:34:40 -0800
commita4c2fd416f014433125f4d463a156b96c3f73642 (patch)
tree65419241d9d402bb69d040ea7d26221bc7ca6fd9
parenta8edf58dac6f4a66c8ea760bda843851af73bc1a (diff)
downloadcoinos-ui-a4c2fd416f014433125f4d463a156b96c3f73642.tar.gz
coinos-ui-a4c2fd416f014433125f4d463a156b96c3f73642.zip
build mode arg
-rw-r--r--Dockerfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 0570bbd7..70b86c82 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,7 +9,9 @@ ADD package.json .
RUN NODE_ENV=development bun i
COPY . .
-RUN bun run build
+
+ARG BUILD_MODE=build
+RUN bun run $BUILD_MODE
# CMD ["node", "build"]
CMD ["bun", "run", "preview", "--host", "--port", "3000"]