diff options
| author | Fuwn <[email protected]> | 2023-08-30 13:55:45 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-08-30 13:55:45 -0700 |
| commit | f39c127494fee28dcd249cf4ba9c63efac7fbc49 (patch) | |
| tree | 66275d733196c6faff2bff2378d535b1dd027901 /Dockerfile | |
| parent | fix(mangadex): 0 progress chapter counts (diff) | |
| download | due.moe-f39c127494fee28dcd249cf4ba9c63efac7fbc49.tar.xz due.moe-f39c127494fee28dcd249cf4ba9c63efac7fbc49.zip | |
ci(docker): switch from node to bun
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |