aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Dockerfile b/Dockerfile
index a905fa2f..6546e768 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,21 +1,21 @@
-FROM node:18.16-alpine as build
+FROM oven/bun 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
WORKDIR /due
COPY --from=build /due .
-EXPOSE 4173
+EXPOSE 3000
-CMD ["yarn", "run", "preview", "--", "--host", "0.0.0.0"] \ No newline at end of file
+CMD ["bun", "./build/index.js"] \ No newline at end of file