From 7af4ba4bfb07ce3e97d062e22ff8ca099565ef43 Mon Sep 17 00:00:00 2001 From: Z8MB1E Date: Mon, 18 May 2026 00:03:47 -0400 Subject: [PATCH] chore: use `oven/bun` as base image for Dockerfile, copy `bun.lock` in image build step --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 973b999..f524fe7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # To use this Dockerfile, you have to set `output: 'standalone'` in your next.config.js file. # From https://github.com/vercel/next.js/blob/canary/examples/with-docker/Dockerfile -FROM node:22.17.0-alpine AS base +FROM oven/bun:1-alpine AS base # Install dependencies only when needed FROM base AS deps @@ -10,7 +10,7 @@ RUN apk add --no-cache libc6-compat WORKDIR /app # Install dependencies based on the preferred package manager -COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* ./ +COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* bun.lock* ./ RUN \ if [ -f yarn.lock ]; then yarn --frozen-lockfile; \ elif [ -f package-lock.json ]; then npm ci; \