Skip to content

Commit 0c5cc70

Browse files
committed
fix: update Dockerfile.test to use bun instead of pnpm
1 parent 0a67b27 commit 0c5cc70

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

Dockerfile.test

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ 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+
ca-certificates \
18+
curl \
19+
unzip \
1720
ffmpeg \
1821
chromium \
1922
libgbm1 \
@@ -57,22 +60,27 @@ RUN npx --yes @puppeteer/browsers install chrome-headless-shell@stable \
5760

5861
WORKDIR /app
5962

63+
# Install bun
64+
RUN curl -fsSL https://bun.sh/install | bash
65+
ENV PATH="/root/.bun/bin:$PATH"
66+
6067
# Install dependencies (full, including devDependencies for tsx + test harness)
61-
COPY pnpm-workspace.yaml package.json pnpm-lock.yaml ./
68+
COPY package.json bun.lock pnpm-workspace.yaml ./
6269
COPY packages/core/package.json packages/core/package.json
6370
COPY packages/engine/package.json packages/engine/package.json
6471
COPY packages/producer/package.json packages/producer/package.json
65-
RUN corepack enable && corepack prepare pnpm@10 --activate \
66-
&& pnpm install --frozen-lockfile
72+
COPY packages/cli/package.json packages/cli/package.json
73+
COPY packages/studio/package.json packages/studio/package.json
74+
RUN bun install --frozen-lockfile
6775

6876
# Copy source
6977
COPY packages/core/ packages/core/
7078
COPY packages/engine/ packages/engine/
7179
COPY packages/producer/ packages/producer/
7280

7381
# Build core runtime artifacts (needed by renderer)
74-
RUN pnpm --filter @hyperframes/core build:hyperframes-runtime:modular
82+
RUN bun run --filter @hyperframes/core build:hyperframes-runtime:modular
7583

7684
WORKDIR /app/packages/producer
7785

78-
ENTRYPOINT ["pnpm", "exec", "tsx", "src/regression-harness.ts", "--", "--sequential"]
86+
ENTRYPOINT ["bunx", "tsx", "src/regression-harness.ts", "--", "--sequential"]

0 commit comments

Comments
 (0)