From a9178ec2fb82607a3eae745bcc66907738f00d92 Mon Sep 17 00:00:00 2001 From: Till JS Date: Wed, 8 Apr 2026 18:28:59 +0200 Subject: [PATCH] fix(docker): drop stale shared-subscription-* COPY lines from sveltekit-base The base image referenced packages/shared-subscription-types and packages/shared-subscription-ui, which were consolidated into packages/subscriptions a while back and no longer exist on disk. `build-app.sh --base` therefore failed every time with: failed to compute cache key: "/packages/shared-subscription-ui": not found That latent failure was harmless until today: the CSP fix for WebLLM in @mana/shared-utils never made it into the live mana-web container because shared-utils lives inside sveltekit-base:local (not COPYed by the per-app Dockerfile), and rebuilding the base was impossible. With the stale lines removed the base image rebuilds, picks up the current shared-utils, and downstream apps inherit the fixed CSP automatically. Co-Authored-By: Claude Opus 4.6 (1M context) --- docker/Dockerfile.sveltekit-base | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile.sveltekit-base b/docker/Dockerfile.sveltekit-base index ae22fbdde..066a6d763 100644 --- a/docker/Dockerfile.sveltekit-base +++ b/docker/Dockerfile.sveltekit-base @@ -44,8 +44,10 @@ COPY packages/shared-icons ./packages/shared-icons COPY packages/shared-pwa ./packages/shared-pwa COPY packages/shared-splitscreen ./packages/shared-splitscreen COPY packages/shared-stores ./packages/shared-stores -COPY packages/shared-subscription-types ./packages/shared-subscription-types -COPY packages/shared-subscription-ui ./packages/shared-subscription-ui +# packages/shared-subscription-types and shared-subscription-ui were +# consolidated into packages/subscriptions (copied below). Their stale +# COPY lines broke `build-app.sh --base` on 2026-04-08, which blocked +# updating the base image when shared-utils was changed. COPY packages/shared-tags ./packages/shared-tags COPY packages/shared-tailwind ./packages/shared-tailwind COPY packages/shared-theme ./packages/shared-theme