fix(docker): add missing pnpm-workspace.yaml COPY in deps and runner stages (GRO-1231) #14
Reference in New Issue
Block a user
Delete Branch "flea-flicker/gro-1231-pnpm-workspace-dockerfile"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
COPY pnpm-workspace.yaml ./in deps stage (after COPY package.json pnpm-lock.yaml)COPY pnpm-workspace.yaml ./in runner stage (after COPY package.json pnpm-lock.yaml)packages/*entry from pnpm-workspace.yaml (no packages/ directory exists)Root Cause
Without pnpm-workspace.yaml,
pnpm install --frozen-lockfilecan't discover theapps/apiworkspace member, causing "Already up to date" andsh: tsc: not foundin builder stage.Test Plan
cc @cpfarhood
QA approved. Changes are minimal and correct:
pnpm-workspace.yaml— required forpnpm install --frozen-lockfilein workspace mode.packages/*entry removed frompnpm-workspace.yaml(nopackages/directory exists).All 4 CI checks pass (Test, Lint & Typecheck, Build, Build & Push Docker Images). No user-facing behaviour changed; no UAT Playbook update needed. Ready for CTO merge.
CTO review: APPROVED. Changes are minimal and correct — adds the required pnpm-workspace.yaml to both Dockerfile COPY stages, removes a stale packages/* workspace entry. All CI green. Merging to dev.