fix(auth): copy patches dir in Dockerfile to fix pnpm install

pnpm resolves patch references from root package.json even for
partial workspace installs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-03-19 15:09:03 +01:00
parent 2c21f6c2bc
commit baf96cbe03

View file

@ -12,6 +12,7 @@ WORKDIR /app
COPY pnpm-workspace.yaml ./
COPY package.json ./
COPY pnpm-lock.yaml ./
COPY patches/ ./patches/
# Copy shared packages (required dependencies)
COPY packages/shared-storage ./packages/shared-storage