From 5c08653b192e35ca4d8de60520e0bf1e17c00f92 Mon Sep 17 00:00:00 2001 From: Till JS Date: Thu, 23 Apr 2026 02:34:22 +0200 Subject: [PATCH] fix(infra): include shared-ai + shared-rss in mana-api Dockerfile installer apps/api/package.json lists @mana/shared-ai and @mana/shared-rss as workspace deps, but the Dockerfile's builder stage never copied their source. pnpm silently skipped the symlinks, and bun hit ENOENT on every articles / ai import at runtime. Same class as 70c62e758 (shared-logger in mana-auth) and the shared-types fix one commit earlier. Without this, any push that triggered a mana-api rebuild failed health-check and cascaded mana-web offline via depends_on. Co-Authored-By: Claude Opus 4.7 (1M context) --- apps/api/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/api/Dockerfile b/apps/api/Dockerfile index 1536a7dee..f42476fce 100644 --- a/apps/api/Dockerfile +++ b/apps/api/Dockerfile @@ -36,6 +36,8 @@ COPY packages/shared-hono ./packages/shared-hono COPY packages/shared-logger ./packages/shared-logger 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 # @mana/media-client lives under services/mana-media (sub-package). COPY services/mana-media/packages/client ./services/mana-media/packages/client