Skip to content

Commit

Permalink
fix: support headfull mode in puppeteer js project template
Browse files Browse the repository at this point in the history
  • Loading branch information
B4nan committed Nov 7, 2022
1 parent ba5f64c commit e6aceb8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/templates/templates/puppeteer-js/Dockerfile
Original file line number Diff line number Diff line change
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 run start:prod --silent

0 comments on commit e6aceb8

Please sign in to comment.