mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-07 22:24:06 -05:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user