Skip to content

moozzyk/puppeteer-docker-RPi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

puppeteer-docker-RPi

This repository provides the code accompanying the article: Running Puppeteer in a Docker Container on Raspberry Pi

Running puppeteer in a Docker container on Raspberry Pi

Environment:

  • Hardware: Raspberry Pi 2 Model B Rev 1.1
  • OS: Raspbian GNU/Linux 11 (bullseye)

Test that the app works without Docker

  • clone the repo: git clone https://github.com/moozzyk/puppeteer-docker-RPi

  • install Chromium: sudo apt-get update && sudo apt-get install chromium -y

  • install dependencies: PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true npm install

  • run application: node index.js:

    image

Test that the app works inside a Docker container

  • Build the image: docker build . -t puppeteer-docker

  • Run the application inside a Docker container: docker run puppeteer-docker

    image

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published