aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-12-22 15:21:08 -0800
committerAdam Soltys <[email protected]>2022-12-22 15:21:08 -0800
commit9b259ee06dda1560693b5fb268fe57df6b1ea6d9 (patch)
tree7dd5d0ff8dceecdc7ce6917c754ebcd1fa209638
parentca5666126f26eef9b13079fbd90bd3eba2859708 (diff)
downloadcoinos-ui-9b259ee06dda1560693b5fb268fe57df6b1ea6d9.tar.gz
coinos-ui-9b259ee06dda1560693b5fb268fe57df6b1ea6d9.zip
use pnpm preview
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index ed7c9613..a451ddad 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -12,4 +12,5 @@ RUN --mount=type=cache,target=/root/.local/share/pnpm/store NODE_ENV=development
COPY . .
RUN pnpm build
-CMD ["node", "build"]
+# CMD ["node", "build"]
+CMD ["pnpm", "preview", "--host", "--port", "3000"]