Skip to content

Commit 9233314

Browse files
authored
chore: update REAMDE.md (#26)
2 parents f066ac8 + 6d4fe59 commit 9233314

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff 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

5359
Other versions of the docker image can be found on [Docker Hub](https://hub.docker.com/r/sirivasv/bmssp-js/tags).

0 commit comments

Comments
 (0)