Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,12 @@ To use Speccy without installing any node/npm specific dependencies, you can run
docker run wework/speccy lint https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/examples/v3.0/petstore.yaml
```

You can work with local files by mounting your spec and any config files to the `/project` directory when you run the container:
You can work with local files by bind mounting your spec and any config files to the `/project` directory when you run the container:

```
docker run \
-v openapi.yaml:/project/openapi.yaml \
--rm \
-v $(pwd)/openapi.yaml:/project/openapi.yaml \
wework/speccy lint openapi.yaml
```

Expand Down