@@ -14,6 +14,8 @@ FROM node:22-bookworm-slim
1414
1515# ── System dependencies (identical to production) ────────────────────────────
1616RUN apt-get update && apt-get install -y --no-install-recommends \
17+ curl \
18+ unzip \
1719 ffmpeg \
1820 chromium \
1921 libgbm1 \
@@ -57,22 +59,25 @@ RUN npx --yes @puppeteer/browsers install chrome-headless-shell@stable \
5759
5860WORKDIR /app
5961
62+ # Install bun
63+ RUN curl -fsSL https://bun.sh/install | bash
64+ ENV PATH="/root/.bun/bin:$PATH"
65+
6066# Install dependencies (full, including devDependencies for tsx + test harness)
61- COPY pnpm-workspace.yaml package.json pnpm-lock .yaml ./
67+ COPY package.json bun.lock pnpm-workspace .yaml ./
6268COPY packages/core/package.json packages/core/package.json
6369COPY packages/engine/package.json packages/engine/package.json
6470COPY packages/producer/package.json packages/producer/package.json
65- RUN corepack enable && corepack prepare pnpm@10 --activate \
66- && pnpm install --frozen-lockfile
71+ RUN bun install --frozen-lockfile
6772
6873# Copy source
6974COPY packages/core/ packages/core/
7075COPY packages/engine/ packages/engine/
7176COPY packages/producer/ packages/producer/
7277
7378# Build core runtime artifacts (needed by renderer)
74- RUN pnpm --filter @hyperframes/core build:hyperframes-runtime:modular
79+ RUN bun run --filter @hyperframes/core build:hyperframes-runtime:modular
7580
7681WORKDIR /app/packages/producer
7782
78- ENTRYPOINT ["pnpm", "exec ", "tsx", "src/regression-harness.ts", "--", "--sequential"]
83+ ENTRYPOINT ["bunx ", "tsx", "src/regression-harness.ts", "--", "--sequential"]
0 commit comments