fix(build): remove incompatible --frozen-lockfile and --omit dev from docker (#2341)

* fix(build): remove incompatible --frozen-lockfile and --omit dev from docker

* ack PR comments
This commit is contained in:
Waleed
2025-12-12 16:58:23 -08:00
committed by GitHub
parent 668118b19b
commit dda44f7382
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ COPY packages/db/package.json ./packages/db/package.json
# Install turbo globally and dependencies with cache mount for faster builds
RUN --mount=type=cache,id=bun-cache,target=/root/.bun/install/cache \
bun install -g turbo && \
bun install --frozen-lockfile --omit dev --ignore-scripts
bun install --omit=dev --ignore-scripts
# ========================================
# Builder Stage: Build the Application

View File

@@ -17,7 +17,7 @@ COPY packages/db/package.json ./packages/db/package.json
# Install dependencies with cache mount for faster builds
RUN --mount=type=cache,id=bun-cache,target=/root/.bun/install/cache \
bun install --frozen-lockfile --omit dev --ignore-scripts
bun install --omit=dev --ignore-scripts
# ========================================
# Builder Stage: Prepare source code