Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

A docker image with node, yarn and chrome to support browser tests

License

Notifications You must be signed in to change notification settings

illuin-tech/docker-node-chrome-headless

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

docker-node-chrome-headless

Docker Pulls Docker Pulls

Provides a Docker image with out of the box support for the recent release of cross-platform Headless Chrome(62.0.3202.75 stable), Node.JS(node: 8.9.0, npm: 5.5.0) and Yarn(1.3.2)

Usage

Dockerfile

FROM ghostbee/node-chrome-headless:latest

CMD ["sh", "start-chrome.sh"]
### start-chrome.sh

google-chrome \
  --headless \
  --disable-gpu \
  --remote-debugging-port=9222

After building your docker image and running a container with it, you can connect to headless chrome inside the container on port 9222. If you're using Node.js, you can use chrome-remote-interface module to talk to Chrome via the Chrome Debugging Protocol

Image Size

415 MB compressed as of last build

License

MIT © e-cloudsaintscott119@gmail.com

About

A docker image with node, yarn and chrome to support browser tests

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%