Skip to content

Commit

Permalink
add docker example with volume
Browse files Browse the repository at this point in the history
  • Loading branch information
deoktr committed Feb 15, 2024
1 parent b49d25c commit ea2b3ce
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ docker build -t pof .
docker run --rm -it pof --help
```

Run inside Docker from a file.

```bash
docker run --rm -v $(pwd):/tmp -it pof -o /tmp/output.py /tmp/input.py
```

## Usage

You can either pipe or give a file for input, same for output.
Expand Down

0 comments on commit ea2b3ce

Please sign in to comment.