From 808ce957616094045762049998faef3ad38c6837 Mon Sep 17 00:00:00 2001 From: Codex Bot Date: Wed, 16 Sep 2026 15:06:09 +0800 Subject: [PATCH] Use only Chromium headless runtime for server browser checks --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7e181dd..054ea77 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,10 +5,10 @@ RUN npm ci COPY . . RUN npm run build -FROM mcr.microsoft.com/playwright:v1.58.2-noble AS browser-tests +FROM node:22-bookworm-slim AS browser-tests WORKDIR /app COPY package*.json ./ -RUN npm ci +RUN npm ci && npx playwright install --with-deps chromium --only-shell COPY tests ./tests COPY src/navigation.ts ./src/navigation.ts COPY playwright.config.ts ./