Skip to content

Commit

Permalink
fix: support headfull mode in playwright js project template
Browse files Browse the repository at this point in the history
  • Loading branch information
B4nan committed Nov 7, 2022
1 parent e6aceb8 commit ea2e61b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions packages/templates/templates/playwright-js/Dockerfile
Expand Up @@ -25,5 +25,6 @@ RUN npm --quiet set progress=false \
COPY --chown=myuser . ./


# Run the image.
CMD npm start --silent
# Run the image. If you know you won't need headful browsers,
# you can remove the XVFB start script for a micro perf gain.
CMD ./start_xvfb_and_run_cmd.sh && npm start --silent
2 changes: 1 addition & 1 deletion packages/templates/templates/puppeteer-js/Dockerfile
Expand Up @@ -27,4 +27,4 @@ COPY --chown=myuser . ./

# Run the image. If you know you won't need headful browsers,
# you can remove the XVFB start script for a micro perf gain.
CMD ./start_xvfb_and_run_cmd.sh && npm run start:prod --silent
CMD ./start_xvfb_and_run_cmd.sh && npm start --silent

0 comments on commit ea2e61b

Please sign in to comment.