# syntax=docker/dockerfile:1.7-labs FROM mcr.microsoft.com/playwright:v1.52.0-noble@sha256:a021500a801bab0611049217ffad6b9697d827205c15babb86a53bc1a61c02d5 WORKDIR /app COPY ./code /app # Benchmark fix: the mcr/playwright base ships browsers but NOT the `playwright` # npm package, so the verifier's require('playwright') threw MODULE_NOT_FOUND. ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 RUN npm install -g playwright@1.52.0 ENV NODE_PATH=/usr/lib/node_modules