aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-10-24 18:04:59 -0700
committerFuwn <[email protected]>2023-10-24 18:04:59 -0700
commitac4aa30628943b4f8f1c853497ec662376387d77 (patch)
treee18c4cdb4bf11be7d600e403fac3b81ad8457ec6 /Dockerfile
parentfix(node): add better-sqlite3 (diff)
downloaddue.moe-ac4aa30628943b4f8f1c853497ec662376387d77.tar.xz
due.moe-ac4aa30628943b4f8f1c853497ec662376387d77.zip
fix(docker): build with node
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 1f0208e8..615c0343 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,14 +1,16 @@
-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