/puppeteer-headed

scraper

Primary LanguageShellApache License 2.0Apache-2.0

Puppeteer Headed

Creates Docker image for a Puppeteer (19.6.2) scraping container capable of running in both headless and headed mode.

Usage

FROM bloodred17/puppeteer-headed

COPY . /app
WORKDIR /app

RUN npm install
RUN npm run build

RUN export NODE_TLS_REJECT_UNAUTHORIZED=0

CMD Xvfb :99 -screen 0 1024x768x16 & npm run start:prod