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:
parent
f4ab0ff9ba
commit
2a77d755b7
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue