diff --git a/Dockerfile b/Dockerfile index 716ab2099f7..8763cd26497 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,6 +25,10 @@ RUN pnpm install --frozen-lockfile COPY . . RUN pnpm build + +# Ensure memory-lancedb extension dependencies are installed. +# LanceDB has native bindings that may not be hoisted by pnpm in all configurations. +RUN pnpm install --filter @openclaw/memory-lancedb --prod --no-frozen-lockfile 2>/dev/null || true # Force pnpm for UI build (Bun may fail on ARM/Synology architectures) ENV OPENCLAW_PREFER_PNPM=1 RUN pnpm ui:build