Sign inSign up

frvge/tenon

By frvge

Updated over 8 years ago

Run Tenon.io accessibility tests via Docker

Image
0

10K+

frvge/tenon repository overview

Tenon.io Docker file

Runs a Docker container with tenon-cli installed via npm on Node Alpine.

Configuration

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" 
}

Usage

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

Version

Last updated dependencies and tenon-cli at 3rd of April 2018.

Tag summary

Content type

Image

Digest

Size

24.5 MB

Last updated

over 8 years ago

docker pull frvge/tenon