From 79207bf43f5acedf2f72cb0bd14296f2618f9f69 Mon Sep 17 00:00:00 2001 From: Till JS Date: Mon, 23 Mar 2026 12:33:36 +0100 Subject: [PATCH] fix(matrix): strip react-native patches in Dockerfile before pnpm install Co-Authored-By: Claude Opus 4.6 (1M context) --- apps/matrix/apps/web/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/matrix/apps/web/Dockerfile b/apps/matrix/apps/web/Dockerfile index 211781fde..9e01f2976 100644 --- a/apps/matrix/apps/web/Dockerfile +++ b/apps/matrix/apps/web/Dockerfile @@ -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