fix(matrix): add eslint-config to Dockerfile, revert to explicit package copies

Copying all packages pulled in Astro deps that need git. Back to
explicit copies with eslint-config added.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-03-23 12:32:38 +01:00
parent e0f7e325e0
commit 34adf50a8e

View file

@ -19,8 +19,20 @@ COPY package.json ./
COPY pnpm-lock.yaml ./
COPY patches ./patches
# Copy all shared packages (avoids workspace resolution errors)
COPY packages ./packages
# Copy shared packages needed by matrix web
COPY packages/shared-auth ./packages/shared-auth
COPY packages/shared-branding ./packages/shared-branding
COPY packages/shared-config ./packages/shared-config
COPY packages/shared-i18n ./packages/shared-i18n
COPY packages/shared-icons ./packages/shared-icons
COPY packages/shared-pwa ./packages/shared-pwa
COPY packages/shared-tailwind ./packages/shared-tailwind
COPY packages/shared-theme ./packages/shared-theme
COPY packages/shared-types ./packages/shared-types
COPY packages/shared-ui ./packages/shared-ui
COPY packages/shared-error-tracking ./packages/shared-error-tracking
COPY packages/shared-utils ./packages/shared-utils
COPY packages/eslint-config ./packages/eslint-config
# Copy matrix web app
COPY apps/matrix/apps/web ./apps/matrix/apps/web