mirror of
https://github.com/kemayo/leech
synced 2026-01-03 06:04:19 +01:00
Add Docker info to README
This commit is contained in:
parent
1a984c685b
commit
98b4622bd5
1 changed files with 15 additions and 0 deletions
|
|
@ -127,6 +127,21 @@ Adding new site handers
|
|||
|
||||
To add support for a new site, create a file in the `sites` directory that implements the `Site` interface. Take a look at `ao3.py` for a minimal example of what you have to do.
|
||||
|
||||
Docker
|
||||
---
|
||||
|
||||
You can build the project's Docker container like this:
|
||||
|
||||
```shell
|
||||
docker build . -t kemayo/leech:snapshot
|
||||
```
|
||||
|
||||
The container's entrypoint runs `leech` directly and sets the current working directory to `/work`, so you can mount any directory there:
|
||||
|
||||
```shell
|
||||
docker run -it --rm -v ${DIR}:/work kemayo/leech:snapshot download [[URL]]
|
||||
```
|
||||
|
||||
Contributing
|
||||
---
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue