aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index ed163471..a905fa2f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,14 +1,14 @@
-FROM oven/bun:latest as build
+FROM node:18.16-alpine as build
WORKDIR /due
COPY package.json ./
-RUN bun install
+RUN yarn install
COPY ./ ./
-RUN bun run build
+RUN yarn run build
FROM node:18.16-alpine
@@ -18,4 +18,4 @@ COPY --from=build /due .
EXPOSE 4173
-CMD ["node", "run", "preview", "--", "--host", "0.0.0.0"] \ No newline at end of file
+CMD ["yarn", "run", "preview", "--", "--host", "0.0.0.0"] \ No newline at end of file