Skip to content

icedrone/docker-puppeteer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Puppeteer

License: MIT Known Vulnerabilities

A ready to use "Google Puppeteer" docker image

This project is a light weight Google-Puppeteer docker image ready to launch out of the box.

Supports alpine base image versions 14 and 16. Aditional versions are comming soon.

🚀 Install

docker pull icedrone/docker-puppeteer:latest

🛑 Configuration

Change executablePath value to the chromium-browser location.

Example:

const browser = await puppeteer.launch(
    {
        executablePath: '/usr/bin/chromium-browser'
    }
);

💾 Usage

FROM icedrone/docker-puppeteer:latest

⚡️ Quick start example

FROM icedrone/docker-puppeteer:latest
COPY . .
CMD ["node", "index.js"]

👨‍💻 Contributing

If you ❤️ the project fill free to help and contribute. Pull-requests are welcome.

💫 License

MIT © License