Created
August 31, 2021 06:05
-
-
Save YusukeIwaki/2117277f4cfc600073c66ead79de593f to your computer and use it in GitHub Desktop.
Playwright Browser server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM mcr.microsoft.com/playwright:v1.14.1 | |
RUN mkdir /playwright | |
WORKDIR /playwright | |
RUN npm install [email protected] | |
RUN echo '{ "port": 8080 }' > config.json | |
EXPOSE 8080 | |
CMD ./node_modules/.bin/playwright launch-server chromium config.json |
Author
YusukeIwaki
commented
Aug 31, 2021
•
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment