Skip to content

Commit

Permalink
Update DOCKER.md
Browse files Browse the repository at this point in the history
  • Loading branch information
reuvenharrison authored Jul 14, 2024
1 parent fa9bba3 commit 2bc843f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/DOCKER.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ docker run --rm -t tufin/oasdiff breaking https://raw.githubusercontent.com/Tufi

### Comparing local files with Docker
```bash
docker run --rm -t -v $(pwd)/data:/data:ro tufin/oasdiff diff /data/openapi-test1.yaml /data/openapi-test3.yaml
docker run --rm -t -v $(pwd):/specs:ro -w /specs tufin/oasdiff changelog openapi-test1.yaml openapi-test3.yaml
```

Replace `$(pwd)/data` by the path that contains your files.
Note that the spec paths must begin with `/`.
Replace `$(pwd)` by the path that contains your specs.

0 comments on commit 2bc843f

Please sign in to comment.