fix: enforce pnpm-only UI runner (#1002) (thanks @tosh-hamburg)

This commit is contained in:
Peter Steinberger committed 2026-01-16 10:03:38 +00:00
1 parent 7e7a0e4b23
commit 6fd68c6689
5 files changed
+52 -47

No files matched your search

-6
View File
@@ -1,9 +1,5 @@
FROM node:22-bookworm
# Install Bun (required for build scripts)
RUN curl -fsSL https://bun.sh/install | bash
ENV PATH="/root/.bun/bin:${PATH}"
RUN corepack enable
WORKDIR /app
@@ -25,8 +21,6 @@ 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