aboutsummaryrefslogtreecommitdiff
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 a905fa2f..c3d13c57 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,16 +1,16 @@
-FROM node:18.16-alpine as build
+FROM oven/bun:latest as build
WORKDIR /due
COPY package.json ./
-RUN yarn install
+RUN bun install
COPY ./ ./
-RUN yarn run build
+RUN bun run build
-FROM node:18.16-alpine
+FROM oven/bun:latest
WORKDIR /due
@@ -18,4 +18,4 @@ COPY --from=build /due .
EXPOSE 4173
-CMD ["yarn", "run", "preview", "--", "--host", "0.0.0.0"] \ No newline at end of file
+CMD ["bun", "run", "preview", "--", "--host", "0.0.0.0"] \ No newline at end of file