There was an error while loading. Please reload this page.
1 parent ba5f64c commit e6aceb8Copy full SHA for e6aceb8
packages/templates/templates/puppeteer-js/Dockerfile
@@ -25,5 +25,6 @@ RUN npm --quiet set progress=false \
25
COPY --chown=myuser . ./
26
27
28
-# Run the image.
29
-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.
30
+CMD ./start_xvfb_and_run_cmd.sh && npm run start:prod --silent
0 commit comments