Hey, check out this crazy news article that totally isn't a rickroll

ditch bun

Changed files
+12 -18
+12 -18
Dockerfile
··· 1 - FROM oven/bun:alpine AS install 2 3 - WORKDIR /usr/src/app 4 5 - COPY package*.json ./ 6 - COPY bun.lockb ./ 7 - 8 - ENV NPM_CONFIG_LOGLEVEL warn 9 - RUN bun install --production --no-progress 10 - 11 COPY . . 12 13 - FROM oven/bun:alpine 14 15 HEALTHCHECK --timeout=3s \ 16 CMD curl --fail http://localhost:8080/healthcheck || exit 1 17 RUN apk add --no-cache curl 18 - 19 - WORKDIR /usr/src/app 20 21 - COPY --from=install /usr/src/app /usr/src/app/ 22 - 23 - USER bun 24 - 25 - CMD [ "bun", "index.js" ] 26 - 27 - EXPOSE 8080
··· 1 + FROM node:lts-alpine AS baseimg 2 3 + FROM baseimg AS build-env 4 + WORKDIR /build 5 6 + COPY ./package*json ./ 7 + RUN npm ci 8 COPY . . 9 + RUN npm ci --only=production --omit=dev 10 11 12 + FROM baseimg AS deploy 13 + WORKDIR /usr/src/app 14 HEALTHCHECK --timeout=3s \ 15 CMD curl --fail http://localhost:8080/healthcheck || exit 1 16 RUN apk add --no-cache curl 17 + COPY --from=build-env /build . 18 + USER node 19 20 + EXPOSE 8080 21 + CMD [ "node", "index.js"]
bun.lockb

This is a binary file and will not be displayed.