Skip to content

Commit

Permalink
Merge pull request kahst#51 from jrcoding/fix/readme-docker
Browse files Browse the repository at this point in the history
fix: README.md version when using a Dockerfile with combination of ENTRYPOINT and CMD section
  • Loading branch information
tommy4st authored Feb 22, 2023
2 parents 86a742d + 56469f0 commit b4f6754
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,19 +291,19 @@ In order to pass a directory that contains your audio files to the docker file,
You can run the container for the provided example soundscapes with:

```
sudo docker run -v $PWD/example:/audio birdnet --i audio --o audio --slist audio
sudo docker run -v $PWD/example:/audio birdnet analyze.py --i audio --o audio --slist audio
```

You can adjust the directory that contains your recordings by providing an absolute path:

```
sudo docker run -v /path/to/your/audio/files:/audio birdnet --i audio --o audio --slist audio
sudo docker run -v /path/to/your/audio/files:/audio birdnet analyze.py --i audio --o audio --slist audio
```

You can also mount more than one drive, e.g., if input and output folder should be different:

```
sudo docker run -v /path/to/your/audio/files:/input -v /path/to/your/output/folder:/output birdnet --i input --o output --slist input
sudo docker run -v /path/to/your/audio/files:/input -v /path/to/your/output/folder:/output birdnet analyze.py --i input --o output --slist input
```

See "Usage" section above for more command line arguments, all of them will work with Docker version.
Expand Down

0 comments on commit b4f6754

Please sign in to comment.