14 lines
443 B
Docker
14 lines
443 B
Docker
ARG PLAYWRIGHT_VERSION
|
|||
|
|
FROM mcr.microsoft.com/playwright:v${PLAYWRIGHT_VERSION}-noble
|
||
|
|
|
||
|
|
WORKDIR /work
|
||
|
|
|
||
|
|
# fonts-dejavu is needed for the same RTL rendering as on CI
|
||
|
|
RUN apt-get update && apt-get -y install docker.io fonts-dejavu
|
||
|
|
# Install the matching playwright runtime, the docker image only includes browsers
|
||
|
|
RUN npm i -g playwright@${PLAYWRIGHT_VERSION}
|
||
|
|
|
||
|
|
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
||
|
|
|
||
|
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|