mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 03:41:10 +02:00
fix(matrix): strip react-native patches in Dockerfile before pnpm install
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
34adf50a8e
commit
79207bf43f
1 changed files with 2 additions and 1 deletions
|
|
@ -37,7 +37,8 @@ COPY packages/eslint-config ./packages/eslint-config
|
|||
# Copy matrix web app
|
||||
COPY apps/matrix/apps/web ./apps/matrix/apps/web
|
||||
|
||||
# Install dependencies (--no-frozen-lockfile due to workspace overrides)
|
||||
# Remove react-native patches (not applicable in web-only context) then install
|
||||
RUN node -e "const p=require('./package.json'); delete p.pnpm?.patchedDependencies; require('fs').writeFileSync('./package.json', JSON.stringify(p, null, 2))"
|
||||
RUN --mount=type=cache,id=pnpm,target=/root/.local/share/pnpm/store pnpm install --no-frozen-lockfile
|
||||
|
||||
# Build shared packages that need building
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue