Skip to content

CalamandreiLorenzo/node-chrome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node + Chrome Docker Container

pipeline status

This repo is also mirrored on GitHub. But GitHub is used only to deploy on DockerHub, using automated build.

Requirements

  • Docker

How to run

Run this container whit the following command:

docker container run --rm -ti -p 8000:8000 -v $(pwd):./ --user node lorenzocalamandrei/node-chrome:x-node-x bash

Or use it in a docker-compose.yml in this way:

services:
    node:
        image: lorenzocalamandrei/node-chrome:1.0-node-13.8.0
        volumes:
            - ./:/home/node/app
        ...

Be careful, to use this image you will need to configure your project to use chrome headless.

For example, if you are dealing with a stencil application you will need to follow this guide: https://stenciljs.com/docs/end-to-end-testing#caveat-about-e2e-tests-automation-on-cd-ci

Contributors

About

Node + Chrome Docker Container

Resources

License

Stars

Watchers

Forks

Packages

No packages published