Skip to content

Commit 04ff518

Browse files
committed
fix: update Dockerfile.test to use bun instead of pnpm
1 parent b957dbe commit 04ff518

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

Dockerfile.test

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ FROM node:22-bookworm-slim
1414

1515
# ── System dependencies (identical to production) ────────────────────────────
1616
RUN 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

5860
WORKDIR /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 ./
6268
COPY packages/core/package.json packages/core/package.json
6369
COPY packages/engine/package.json packages/engine/package.json
6470
COPY 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
6974
COPY packages/core/ packages/core/
7075
COPY packages/engine/ packages/engine/
7176
COPY 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

7681
WORKDIR /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

Comments
 (0)