fix: remove .npmrc in Docker to avoid hoisted mode issues

Docker builds should use default pnpm isolated mode, not hoisted mode
which causes tsup module resolution failures.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Thomas Hallock 2025-10-07 10:01:31 -05:00
parent f4ab0ff9ba
commit 2a77d755b7
1 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,10 @@ COPY packages/core/client/typescript/package.json ./packages/core/client/typescr
COPY packages/abacus-react/package.json ./packages/abacus-react/ COPY packages/abacus-react/package.json ./packages/abacus-react/
COPY packages/templates/package.json ./packages/templates/ COPY packages/templates/package.json ./packages/templates/
# Remove .npmrc if it exists (Docker should use default pnpm mode, not hoisted)
COPY .npmrc* ./
RUN rm -f .npmrc
# Install dependencies # Install dependencies
RUN pnpm install --frozen-lockfile RUN pnpm install --frozen-lockfile