aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile14
1 files changed, 8 insertions, 6 deletions
diff --git a/Dockerfile b/Dockerfile
index 1f0208e8..94719c00 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,21 +1,23 @@
-FROM oven/bun:1.0.1 as build
+FROM node:19-bullseye as build
WORKDIR /due
+RUN apt update -y && apt upgrade -y
+
COPY package.json ./
-RUN bun install
+RUN yarn install
COPY ./ ./
-RUN bun --bun vite build
+RUN yarn run build
-FROM oven/bun:1.0.1
+FROM node:19-bullseye
WORKDIR /due
-COPY --from=build /due/build .
+COPY --from=build /due .
EXPOSE 3000
-CMD ["bun", "./index.js"] \ No newline at end of file
+CMD ["node", "build"] \ No newline at end of file