Skip to content

Commit

Permalink
README change docker command for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
l2es committed Feb 8, 2023
1 parent 29adc04 commit be72f5c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,13 @@ Then you should be able to run `npm test` once you have the dependencies in plac

> Note: Tests currently only work on linux-based environments that have `/proc/self/fd`. They *do not* work on MacOS environments.
> You can use Docker to run tests by creating a container and mounting the needle project directory on `/app`
> `docker create --name Needle -v /app -w /app -v /app/node_modules -i node:argon`
```bash
# Located in your local cloned project :
docker run -it -w /app --name Needle \
--mount type=bind,source="$(pwd)",target=/app \
node:fermium bash
```

Credits
-------
Expand Down

0 comments on commit be72f5c

Please sign in to comment.