Skip to content

Commit 5438bdb

Browse files
Update README.md
1 parent d805191 commit 5438bdb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@ AesonException "Error in $.provider.runtime: failed to parse field provider: fai
1515

1616
## Usage with Docker
1717

18-
If haskell, stack etc. are not installed on your system, then docker comes to the rescue. Build the image using the `Dockerfile` using something like `docker build -t serverless-validator .` and then run it with `docker run -it --rm -v $(pwd):/tmp serveless-validator path/relative/to/the/current/path/to/serverless.yml`. Beware: the size of the docker image is an outrageous 1.8 GB!!!
18+
A Docker executable image is available on Docker Hub, just download it and run it against you `serverless.yml` file:
19+
20+
``` sh
21+
docker pull futtetennista/serverless-validator
22+
docker run --rm -v=$(pwd):/tmp -w=/tmp serveless-validator path/to/serverless.yml
23+
```
1924

2025
## Licence
2126

0 commit comments

Comments
 (0)