From 07b87ac8a75d3219d4f60d18a2cfb4fd032870b2 Mon Sep 17 00:00:00 2001 From: m4x809 Date: Sat, 25 Oct 2025 03:38:58 +0200 Subject: [PATCH] Update Dockerfile to improve dependency management - Modified the Dockerfile to copy bun.lock conditionally, ensuring it is included only if present. - Removed the frozen lockfile option during dependency installation to allow for more flexible updates. --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index cd1d84d..9725061 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,10 +6,11 @@ FROM base AS deps WORKDIR /app # Copy dependency files -COPY package.json bun.lock ./ +COPY package.json ./ +COPY bun.lock* ./ # Install dependencies -RUN bun install --frozen-lockfile +RUN bun install # Build the application FROM base AS builder