Fix #176: copy pnpm-workspace.yaml in docker web stage #177

Merged
crueber merged 1 commit from fix/issue-176 into main 2026-09-06 16:54:39 +00:00
Owner

One-line fix: the web stage pre-install COPY now includes web/pnpm-workspace.yaml, so pnpm install sees allowBuilds + minimumReleaseAgeExclude (dompurify@3.4.15, #174).

Acceptance: full docker build from a clean scratch worktree went green end to end — web stage install passes supply-chain policy, vite + SDK bundle build, Go stage embeds dist, runtime image exported as walhub:fix176. No dependency changes; no other Dockerfile changes.

One-line fix: the web stage pre-install COPY now includes web/pnpm-workspace.yaml, so pnpm install sees allowBuilds + minimumReleaseAgeExclude (dompurify@3.4.15, #174). Acceptance: full `docker build` from a clean scratch worktree went green end to end — web stage install passes supply-chain policy, vite + SDK bundle build, Go stage embeds dist, runtime image exported as walhub:fix176. No dependency changes; no other Dockerfile changes.
The web stage COPYed only package.json + pnpm-lock.yaml before install, omitting pnpm-workspace.yaml which carries allowBuilds: {esbuild: true} and minimumReleaseAgeExclude for dompurify@3.4.15 (added in #174). The image build failed at pnpm install with ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION. Verified with a full docker build to green (web install + vite/SDK build, Go embed of dist).
Sign in to join this conversation.
No description provided.