FROM mcr.microsoft.com/playwright:v1.59.1-noble

WORKDIR /workspace

COPY package.json playwright.config.ts ./
COPY tests ./tests

RUN npm install --no-fund --no-audit

CMD ["npx", "playwright", "test"]