Sign inSign up

weihanli/puppeteer

By weihanli

Updated over 7 years ago

puppeteer

Image
1

3.8K

weihanli/puppeteer repository overview

Intro

Puppeteer is a Node library which provides a high-level API to control Chrome or Chromium over the DevTools Protocol. Puppeteer runs headless by default, but can be configured to run full (non-headless) Chrome or Chromium.

See https://github.com/GoogleChrome/puppeteer

Get Started

  • write your own docker file based on this image

    FROM weihanli/puppeteer:latest
    
    COPY --chown=pptruser:pptruser ./src .
    
  • docker compose

    sample docker compose file

     version: '2'
     services:
       puppeteer-crawler:
         image: weihanli/puppeteer:latest
         ports:
           - 10240:3000
         volumes:
           - ./src:/app
    

the default command execute is yarn start see the docker file here

Tag summary

Content type

Image

Digest

Size

473.2 MB

Last updated

over 7 years ago

docker pull weihanli/puppeteer