Hello,
Well, sorry, but as far as I know, using Puppeteer on DreamHost’s shared hosting is not possible, if I know correctly, they allow only NodeJS installation, but not also Puppeteer installation. I might be wrong on this, because of this I suggest you contact DreamHost support and confirm this.
If they are not allowing installation of Puppeteer, I can suggest Digital Ocean VPS as an alternative, they have 6$/month plans which work great with WordPress and also support Puppeteer installation, as shown in this video: https://www.youtube.com/watch?v=pRUDcSOe724
If you sign up using this link, you will also get 200$ bonus as a sign-up gift, which will allow to test their services for a while, for free: https://bit.ly/digitalocean-hosting-phantomjs
I hope this info helps.
Regards, Szabi – CodeRevolution.