FROM mcr.microsoft.com/playwright:v1.50.0-jammy WORKDIR /app RUN corepack enable && corepack prepare pnpm@9.0.0 --activate # Copy e2e package files only COPY @tooling/e2e/package.json ./package.json COPY @tooling/e2e/pnpm-lock.yaml* ./ # Install playwright and test deps RUN pnpm install --frozen-lockfile || pnpm install COPY @tooling/e2e/playwright.config.ts ./playwright.config.ts COPY @tooling/e2e/e2e ./e2e COPY @tooling/e2e/tsconfig.json ./tsconfig.json ENV CI=true CMD ["npx", "playwright", "test", "--reporter=list"]