From 6b01165a93c538e64400d4cba222a40a487bc8ef Mon Sep 17 00:00:00 2001 From: Simon KP Date: Mon, 26 Jan 2026 20:11:18 +1100 Subject: [PATCH] fix: skip UI build in prod Dockerfile (gateway-only) --- Dockerfile.prod | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile.prod b/Dockerfile.prod index 9f1583700..8e5796a28 100644 --- a/Dockerfile.prod +++ b/Dockerfile.prod @@ -19,10 +19,8 @@ RUN pnpm install --frozen-lockfile COPY . . RUN pnpm build -# Force pnpm for UI build (Bun may fail on ARM/Synology architectures) -ENV CLAWDBOT_PREFER_PNPM=1 -RUN pnpm ui:install -RUN pnpm ui:build +# Skip UI build - gateway-only deploy doesn't need it +# (Also avoids extensions/memory-core requiring unreleased clawdbot version) # Stage 2: Build checkins extension FROM node:22-slim AS extension-builder @@ -43,7 +41,7 @@ WORKDIR /app COPY --from=clawdbot-builder /app/dist ./dist COPY --from=clawdbot-builder /app/node_modules ./node_modules COPY --from=clawdbot-builder /app/package.json ./package.json -COPY --from=clawdbot-builder /app/ui/dist ./ui/dist +# UI not built - gateway-only deploy # Copy the pre-built extension to staging (PVC will mount over /root/.clawdbot) COPY --from=extension-builder /build /app/bundled-plugins/checkins