fix: allow docker builds to skip missing a2ui assets

This commit is contained in:
Peter Steinberger
2026-01-27 15:16:20 +00:00
parent 0594ccf92a
commit e4518d2271
2 changed files with 6 additions and 1 deletions

View File

@@ -24,7 +24,7 @@ COPY scripts ./scripts
RUN pnpm install --frozen-lockfile
COPY . .
RUN pnpm build
RUN CLAWDBOT_A2UI_SKIP_MISSING=1 pnpm build
# Force pnpm for UI build (Bun may fail on ARM/Synology architectures)
ENV CLAWDBOT_PREFER_PNPM=1
RUN pnpm ui:install