Files
LUNA-Charts/Dockerfile.test
T
Ninosaurier a09d83fb53 fix(deps): pin playwright to 1.62.1 and sync docker test image
Playwright was previously pinned with a caret range (^1.61.1), which
allowed pnpm to silently resolve a newer minor version after the
lockfile was regenerated. This caused a version mismatch with the
Docker test image, which still referenced 1.61.1.

- packages/luna-charts/package.json: pin playwright to 1.62.1 exactly
- Dockerfile.test: bump base image to v1.62.1-noble to match
2026-08-02 00:45:30 +02:00

24 lines
418 B
Docker

FROM mcr.microsoft.com/playwright:v1.62.1-noble
RUN corepack enable && corepack prepare pnpm@10 --activate
ENV CI=true
WORKDIR /app
COPY . .
RUN rm -rf node_modules packages/**/node_modules
RUN rm -f pnpm-lock.yaml
ENV PNPM_CONFIG_SUPPORTED_ARCHITECTURES="current,linux-x64-gnu"
RUN pnpm install
WORKDIR /app/packages/luna-charts
RUN pnpm add -D @rolldown/binding-linux-x64-gnu
CMD ["pnpm", "test:browser"]