timaschew / link-checker

🚀Superfast link checker for HTML pages
MIT License
18 stars 11 forks source link

Docker usage instructions #29

Closed jdillard closed 1 year ago

jdillard commented 2 years ago

I'm not sure if I am using the docker image correctly, I can check the version just fine:

docker run timaschew/link-checker --version

But if I try to specify an absolute path, it never finds any files:

docker run timaschew/link-checker /path/to/some/directory

And if I use the current directory, it seems to scan sr/local/lib/node_modules/npm/docs:

docker run timaschew/link-checker .

Is there a trick to getting the path correct with the docker image?