Skip to content
This repository was archived by the owner on Apr 16, 2023. It is now read-only.

phartenfeller/codeceptjs-multimocha-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codeceptjs-multimocha-docker

Most part of the Dockerfile is stolen from the official CodeceptJS Docker Image. I added a custom package.json and install codecept over NPM with mocha-multi, mocha-junit-reporter and puppeteer. So you can't mount in an own package.json into the volume. Generally you only need to mount in the codecept config and the tests.

Build

docker build . -t codecept-mocha-multi

Run codecept tests

docker run -it --rm -v /path/to/your/codecept/folder:/tests codecept-mocha-multi:latest