aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-08-30 13:55:45 -0700
committerFuwn <[email protected]>2023-08-30 13:55:45 -0700
commitf39c127494fee28dcd249cf4ba9c63efac7fbc49 (patch)
tree66275d733196c6faff2bff2378d535b1dd027901 /Dockerfile
parentfix(mangadex): 0 progress chapter counts (diff)
downloaddue.moe-f39c127494fee28dcd249cf4ba9c63efac7fbc49.tar.xz
due.moe-f39c127494fee28dcd249cf4ba9c63efac7fbc49.zip
ci(docker): switch from node to bun
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Dockerfile b/Dockerfile
index a905fa2f..c3d13c57 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,16 +1,16 @@
-FROM node:18.16-alpine as build
+FROM oven/bun:latest 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:latest
WORKDIR /due
@@ -18,4 +18,4 @@ COPY --from=build /due .
EXPOSE 4173
-CMD ["yarn", "run", "preview", "--", "--host", "0.0.0.0"] \ No newline at end of file
+CMD ["bun", "run", "preview", "--", "--host", "0.0.0.0"] \ No newline at end of file