fix: remove stderr suppression so install failures are visible in build logs

Address review feedback: remove 2>/dev/null so that if the LanceDB
native binary download fails, the error is visible in Docker build
logs for debugging rather than silently swallowed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
JayMishra-github
2026-02-16 10:47:40 -08:00
committed by Peter Steinberger
parent 2ab6313d99
commit 717caa97fb

View File

@@ -28,7 +28,7 @@ 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
RUN pnpm install --filter @openclaw/memory-lancedb --prod --no-frozen-lockfile || true
# Force pnpm for UI build (Bun may fail on ARM/Synology architectures)
ENV OPENCLAW_PREFER_PNPM=1
RUN pnpm ui:build