Skip to content

[codex] Fix Docker pnpm frozen installs#28

Merged
rawgroundbeef merged 1 commit into
mainfrom
codex-fix-docker-pnpm-config
May 28, 2026
Merged

[codex] Fix Docker pnpm frozen installs#28
rawgroundbeef merged 1 commit into
mainfrom
codex-fix-docker-pnpm-config

Conversation

@rawgroundbeef
Copy link
Copy Markdown
Owner

Summary

  • Copy the repo .npmrc into the Docker install layers before pnpm install --frozen-lockfile runs.
  • Keep the server runtime image workspace config in sync by copying .npmrc there too.

Root Cause

PR #27 added .npmrc with auto-install-peers=false, and the lockfile now records settings.autoInstallPeers: false. The Dockerfiles copied package.json, pnpm-lock.yaml, pnpm-workspace.yaml, and turbo.json, but not .npmrc, so pnpm used its default peer config inside Docker and rejected the frozen install with ERR_PNPM_LOCKFILE_CONFIG_MISMATCH.

Validation

  • docker build -f Dockerfile.server --target builder -t openfacilitator-server-builder-test .
  • docker build -f Dockerfile.dashboard --target builder -t openfacilitator-dashboard-builder-test .
  • Commit hook: turbo lint
  • Push hook: SDK tests

@vercel
Copy link
Copy Markdown

vercel Bot commented May 28, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openfacilitator-dashboard Ready Ready Preview, Comment May 28, 2026 1:32am

Request Review

@rawgroundbeef rawgroundbeef marked this pull request as ready for review May 28, 2026 01:33
@rawgroundbeef rawgroundbeef merged commit bc707b7 into main May 28, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant