Make it possible to mount docker volumes for shrun tests
rylandg opened this issue · comments
Right now it's not possible for the user to mount a runtime volume into a shrun container. This is prohibitive and makes certain use cases impossible.
Initial support for this is released.
For potential readers, there is an example here https://github.com/rylandg/shrun-basic-demo/blob/master/package.json
Usage is:
shrun --volume $(pwd)/LICENSE:/home/dockeruser/LICENSE --testMatch 'specs' --dockerImage 'testshrun:latest'