You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The command RUN npm install puppeteer will install the puppeteer 3.x.x with can have breaking changes.
This is a suggestion for a Dockerfile that worked for me. I changes the node image to use Alpine, and added the "puppeteer": "^2.0.0" dependency on the package.json.
I also changed the following lines on the server.js from:
The build script is no longer working.
Some needed changes:
RUN npm install puppeteer
will install the puppeteer 3.x.x with can have breaking changes.This is a suggestion for a Dockerfile that worked for me. I changes the node image to use Alpine, and added the
"puppeteer": "^2.0.0"
dependency on thepackage.json
.I also changed the following lines on the
server.js
from:to:
Dockerfile:
The text was updated successfully, but these errors were encountered: