From 467d8339cc6dbd413b2f6eb3eaeabf0a757c656d Mon Sep 17 00:00:00 2001 From: Till JS Date: Fri, 8 May 2026 18:44:57 +0200 Subject: [PATCH] fix(apps/api): COPY packages/eslint-config in Dockerfile Root package.json devDeps reference @mana/eslint-config (workspace:*). Even with `--filter @mana/api...`, pnpm resolves the root workspace manifest and chokes on the missing package. Copy eslint-config into the builder stage so the root resolves cleanly. Same pattern as the platform mana-auth Dockerfile already uses. Discovered while running the 8-Doppel-Cutover smoke test on Mac Mini: mana-api build failed with ERR_PNPM_WORKSPACE_PKG_NOT_FOUND. Co-Authored-By: Claude Opus 4.7 (1M context) --- apps/api/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/api/Dockerfile b/apps/api/Dockerfile index 2ca44e495..d11a83f9a 100644 --- a/apps/api/Dockerfile +++ b/apps/api/Dockerfile @@ -42,6 +42,10 @@ COPY packages/shared-storage ./packages/shared-storage COPY packages/shared-types ./packages/shared-types COPY packages/shared-ai ./packages/shared-ai COPY packages/shared-rss ./packages/shared-rss +# Root package.json devDeps reference @mana/eslint-config; pnpm filter +# install still resolves the root, so the package needs to be present +# even though apps/api itself doesn't import from it. +COPY packages/eslint-config ./packages/eslint-config # `@mana/media-client` kommt seit dem 8-Doppel-Cutover (2026-05-08) aus # Verdaccio (`npm.mana.how`), nicht mehr als Workspace-COPY aus # `services/mana-media/packages/client/` (das Verzeichnis verschwindet