fix(docker): strip mobile-only patchedDependencies before pnpm install

react-native-reanimated patch not applicable in Docker (no mobile).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-03-28 21:20:19 +01:00
parent 0aeb046e28
commit b34ca93956

View file

@ -67,6 +67,8 @@ COPY packages/spiral-db ./packages/spiral-db
COPY packages/wallpaper-generator ./packages/wallpaper-generator
# Install dependencies (shared packages only - app deps added later)
# Remove patches that only apply to mobile (react-native-reanimated)
RUN sed -i '/patchedDependencies/,/^$/d' package.json 2>/dev/null || true
RUN --mount=type=cache,id=pnpm,target=/root/.local/share/pnpm/store \
pnpm install --no-frozen-lockfile --ignore-scripts