Runs a Docker container with tenon-cli installed via npm on Node Alpine.
Using a config file is recommended! You can also pass in your key that way:
config.json:
{
"out": "/data/results.json",
"format": "json",
"waitFor": 1000,
"userAgent": "my user agent string",
"key": "mykey"
}
Assuming config.json and mylocalpage.html are in the current working dir.
docker run --rm -v $(pwd):/data frvge/tenon tenon-cli --config=/data/config.json https://www.mysite.com
docker run --rm -v $(pwd):/data frvge/tenon tenon-cli --config=/data/config.json --in=/data/mylocalpage.html
Last updated dependencies and tenon-cli at 3rd of April 2018.
Content type
Image
Digest
Size
24.5 MB
Last updated
over 8 years ago
docker pull frvge/tenon