aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Dockerfile b/Dockerfile
index c5acdb79..74982d30 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,16 +1,16 @@
-FROM node:21-alpine
+FROM node:21
ARG NODE_ENV=production
ENV NODE_ENV $NODE_ENV
-RUN npm i -g pnpm
+RUN npm i -g bun
WORKDIR /app
ADD package.json .
-RUN --mount=type=cache,target=/root/.local/share/pnpm/store NODE_ENV=development pnpm i
+RUN NODE_ENV=development bun i
COPY . .
-RUN pnpm build
+RUN bun run build
# CMD ["node", "build"]
-CMD ["pnpm", "preview", "--host", "--port", "3000"]
+CMD ["bun", "run", "preview", "--host", "--port", "3000"]