Look the repository: https://github.com/jvitor83/chrome-debug-node-vnc-usage. Fork and use the index.js
to write your chrome/puppeteer manipulation.
Just need a
Dockerfile
with:FROM jvitor83/chrome-debug-node-vnc:0.1
No need to do COPY and npm install (
ONBUILD
already do that).
extra_chrome_args
5900
for VNCRealVNC recommendation - Just connect to
localhost:5900
after start the image exposing the port9222
for chrome remote debug (chrome inside the container)