aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"]