Files
LUNA-Charts/Dockerfile.test
T
Ninosaurier 9821ffe642 test(docker): Added docker container
Playwright tests execute in containers, allowing developers to test independently of the operating system.
2026-07-15 13:55:27 +02:00

18 lines
365 B
Docker

FROM mcr.microsoft.com/playwright:v1.61.1-noble
RUN corepack enable && corepack prepare pnpm@10 --activate
ENV CI=true
WORKDIR /app
COPY pnpm-lock.yaml pnpm-workspace.yaml package.json ./
COPY packages/luna-charts/package.json ./packages/luna-charts/
RUN pnpm install --frozen-lockfile
COPY . .
WORKDIR /app/packages/luna-charts
CMD ["pnpm", "test:browser"]