Docker: include A2UI sources for bundle (#13114)

* Docker: include A2UI sources for bundle

* Build: fail bundling when sources missing and no prebuilt A2UI bundle
This commit is contained in:
Tak Hoffman
2026-02-09 22:44:59 -06:00
committed by GitHub
parent e19a23520c
commit 72f89b1f53
3 changed files with 20 additions and 4 deletions

View File

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