File size: 425 Bytes
ef987bb | 1 2 3 4 5 6 7 8 9 10 | 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
|