Skip to content

techulus/chrome-headless-docker

Repository files navigation

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' })