mirror of
https://github.com/luxfi/bridge.git
synced 2026-09-24 00:26:46 +00:00
Fix pnpm lockfile mismatch in all Docker builds
Use --no-frozen-lockfile in both bridge UI and server Dockerfiles. The workspace lockfile has overrides that don't match when building individual packages in isolation.
This commit is contained in:
@@ -22,7 +22,7 @@ COPY pkg/ui/package.json ./pkg/ui/
|
||||
COPY pkg/utila/package.json ./pkg/utila/
|
||||
|
||||
# Install dependencies
|
||||
RUN pnpm install --frozen-lockfile
|
||||
RUN pnpm install --no-frozen-lockfile
|
||||
|
||||
# Copy all source code (needed for workspace deps at build time)
|
||||
COPY . .
|
||||
|
||||
@@ -50,7 +50,7 @@ COPY .npmrc* ./
|
||||
COPY app/server/package.json ./app/server/
|
||||
|
||||
# Install production dependencies only
|
||||
RUN pnpm install --prod --frozen-lockfile
|
||||
RUN pnpm install --prod --no-frozen-lockfile
|
||||
|
||||
# Copy built application into workspace path so pnpm node_modules resolve correctly
|
||||
COPY --from=builder --chown=bridge:nodejs /app/app/server/dist ./app/server/dist
|
||||
|
||||
Reference in New Issue
Block a user