Skip to content

Commit

Permalink
Merge pull request #225 from Sam-R/master
Browse files Browse the repository at this point in the history
Updated Docker Example Code
  • Loading branch information
danielgtaylor committed Jan 28, 2016
2 parents d47cea8 + bae3f50 commit ccd8c2a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@ You can choose to use the provided `Dockerfile` to build yourself a repeatable a

1. Build the image with `docker build -t aglio .`
2. Run aglio inside a container with `docker run -t aglio`
You can use the `-v` switch to dynamically mount the folder that holds your API blueprint.
You can use the `-v` switch to dynamically mount the folder that holds your API blueprint:

```bash
docker run -v $(pwd):/tmp -t aglio -i /tmp/input.apib -o /tmp/output.html
```

## Node.js Library
You can also use aglio as a library. First, install and save it as a dependency:
Expand Down

0 comments on commit ccd8c2a

Please sign in to comment.