diff options
| author | Fuwn <[email protected]> | 2023-10-24 18:04:59 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-10-24 18:04:59 -0700 |
| commit | ac4aa30628943b4f8f1c853497ec662376387d77 (patch) | |
| tree | e18c4cdb4bf11be7d600e403fac3b81ad8457ec6 /Dockerfile | |
| parent | fix(node): add better-sqlite3 (diff) | |
| download | due.moe-ac4aa30628943b4f8f1c853497ec662376387d77.tar.xz due.moe-ac4aa30628943b4f8f1c853497ec662376387d77.zip | |
fix(docker): build with node
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |