Docker: puppeteer not working on a Express (NestJS) app

@jade_paoletta would Render consider making it more zero-config to use Puppeteer v19+ on Render.com?

Right now it’s a bit of a footgun when Puppeteer is deployed out of the box without configuration - the default installation path $HOME/.cache/puppeteer does not get copied to the production environment on Render, leading to confusing errors.

Would the Render team consider copying $HOME/.cache to the production environment by default? (or better said: not discarding it between build environment and production environment?) Keeping this directory seems like a behavior that is mirrored by other deployment / CI environments.

We can also submit a separate Render Community discussion about this, but it would be great if Render would consider this change.

1 Like