Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 562 Bytes

File metadata and controls

25 lines (17 loc) · 562 Bytes

Chrome headless docker

Imgur

Build Status

Build

You can build the application using:

docker build -t chrome-headless-docker .

Start Server

Start the server on port 8081 using docker

docker run --shm-size=2gb -p 8081:8081 chrome-headless-docker:latest

Connecting using Puppeteer

await puppeteer.connect({ browserWSEndpoint: 'ws://localhost:8081' })