From ac4aa30628943b4f8f1c853497ec662376387d77 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Tue, 24 Oct 2023 18:04:59 -0700 Subject: fix(docker): build with node --- Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Dockerfile') 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 -- cgit v1.2.3