https://github.com/softonic/docker-puppeteer
Puppeteer docker image
https://github.com/softonic/docker-puppeteer
docker-image puppeteer
Last synced: about 1 month ago
JSON representation
Puppeteer docker image
- Host: GitHub
- URL: https://github.com/softonic/docker-puppeteer
- Owner: softonic
- Created: 2020-04-21T09:28:57.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-21T11:41:31.000Z (about 6 years ago)
- Last Synced: 2025-04-08T07:44:02.535Z (about 1 year ago)
- Topics: docker-image, puppeteer
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/softonic/puppeteer
- Size: 1.95 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Softonic Puppeteer
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.
This repository provides a Docker image with Puppeteer.
## Build
To build the Docker image yourself you can run the command:
```shell script
docker build -t softonic/puppeteer:latest .
```
## Usage
You just need to run it via Docker:
```shell script
docker run \
--rm \
--name my-puppeteer \
--cap-add=SYS_ADMIN \
--init \
softonic/puppeteer:latest
```
If you have a Javascript file to decide what and how to execute tests you could write your start file or an npm/yarn alias:
```shell script
docker run --rm --name my-puppeteer \
--cap-add=SYS_ADMIN \
--init \
--workdir=/app \
-v $PWD/:/app \
softonic/puppeteer:latest \
yarn start
```