File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -44,10 +44,16 @@ The file must use ECMAScript modules (ESM) syntax and have the `.mjs` file exten
4444
4545### Using the docker image
4646
47- You can also use the published docker image and run your tests (assuming a ` mytest.mjs ` in this example) in a pre-configured environment :
47+ You can also use the published docker image and run the example:
4848
4949``` bash
50- docker run -it -v ./mytest.mjs:/bmssp-js/mytest.mjs sirivasv/bmssp-js:latest node /bmssp-js/mytest.mjs
50+ docker run -it sirivasv/bmssp-js:latest
51+ ```
52+
53+ Or your tests in a pre-configured environment (replace ` folder-mytest/ ` with your tests folder and ` index.mjs ` with your test file):
54+
55+ ``` bash
56+ docker run -it -v ./folder-mytest/:/bmssp-js/folder-mytest/ sirivasv/bmssp-js:latest node /bmssp-js/folder-mytest/index.mjs
5157```
5258
5359Other versions of the docker image can be found on [ Docker Hub] ( https://hub.docker.com/r/sirivasv/bmssp-js/tags ) .
You can’t perform that action at this time.
0 commit comments