From f39c127494fee28dcd249cf4ba9c63efac7fbc49 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Wed, 30 Aug 2023 13:55:45 -0700 Subject: ci(docker): switch from node to bun --- Dockerfile | 10 +++++----- bun.lockb | Bin 0 -> 82786 bytes 2 files changed, 5 insertions(+), 5 deletions(-) create mode 100755 bun.lockb 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 diff --git a/bun.lockb b/bun.lockb new file mode 100755 index 00000000..63def48d Binary files /dev/null and b/bun.lockb differ -- cgit v1.2.3