Simple guide from includes a sample project:ĭeployment package sizes to ~50MB. Use a buildpack with additional font files like If you need to render Chinese, Japanese, or Korean characters you may need to On the next deploy, your app will also install the dependencies that When you click add buildpack, simply paste that url into the input, and click If you do, # you'll need to launch puppeteer with: # browser.launch(). # If running Docker >= 1.13.0 use docker run's -init arg to reap zombie processes, otherwise # uncomment the following lines to have `dumb-init` as PID 1 # ADD /usr/local/bin/dumb-init # RUN chmod x /usr/local/bin/dumb-init # ENTRYPOINT # Uncomment to skip the chromium download when installing puppeteer.
0 Comments
Leave a Reply. |