Files
PaperClipAI/server/src
e1f1252a53 fix(docker): use numeric owner ids for the linked node_modules copy (#23010)
COPY --link builds the layer without the destination image's /etc/passwd, so --chown=node:node failed with 'invalid user index -1' and the master image could not build. Use the production stage's USER_UID/USER_GID build args, which the base stage assigns to the node user. A guard test requires numeric owner ids on every linked copy, in any flag order and instruction case, and equal id defaults in the base and production stages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Devin Foley <devinfoley@users.noreply.github.com>
2026-11-25 20:01:08 -06:00
..
…
…
…
…
…
…