Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 419 Bytes

README.md

File metadata and controls

19 lines (16 loc) · 419 Bytes

pluswerk/puppeteer

Opinionated puppeteer Headless Chrome

example docker-compose.yml

version: '3'

services:
  puppeteer:
    image: pluswerk/puppeteer
    volumes:
      - ./:/app/
    working_dir: /app/
    shm_size: 1gb
    # just run the container doing nothing
    entrypoint: ["sh", "-c", "sleep infinity"]

Then use docker-compose exec puppeteer to execute your node script in the container.