fix: copy packages/remote-web in Dockerfile (pnpm workspace glob)#3337
fix: copy packages/remote-web in Dockerfile (pnpm workspace glob)#3337Whaleylaw wants to merge 1 commit into
Conversation
|
Test |
|
Fixes the frontend Docker build by copying packages/remote-web/package.json before pnpm install, and then copying the full packages/remote-web/ directory into the image. |
Aggressive review summary — PR #3337Ran the four-reviewer battery (structural, security, adversarial, conventions) plus local Phase B checks. Verdict: clean — recommend merge. Why this fix is necessary
FindingsStructural — 1 favorable HIGH (fix is necessary), 2 MED, 1 LOW, 1 NIT. Non-blocking suggestions (consider in a follow-up)
Phase B verification
— Reviewed by automated four-tool battery (structural / security / adversarial / conventions). |
Note
Low Risk
Low risk change limited to the Docker build context; main impact is build behavior (pnpm install/cache layers) rather than runtime logic.
Overview
Fixes the frontend Docker build by copying
packages/remote-web/package.jsonbeforepnpm install, and then copying the fullpackages/remote-web/directory into the image.This ensures pnpm workspace globs/dependency resolution include
remote-weband prevents Docker layer caching/install from failing due to a missing workspace package.Reviewed by Cursor Bugbot for commit 285e1fe. Bugbot is set up for automated code reviews on this repo. Configure here.