mirror of
https://github.com/ciromattia/kcc
synced 2026-02-04 03:17:46 +00:00
Update /opt/kcc to /opt/kcc/kindlegen for Docker kindlegen reference
@@ -179,10 +179,10 @@ $ docker run --rm -v "$(pwd):/opt/kcc" -e KCC_MODE=c2p ghcr.io/ciromattia/kcc:la
|
||||
|
||||
Regarding local paths, the Docker container will only have access to the current folder and subfolders from where you're running it from. If you need to run this for relative paths, it gets trickier but is certainly doable.
|
||||
|
||||
Kindlegen **must be accessible to the Docker container in its /opt/kcc folder**. You must also make your other path accessible in another folder. Here's one such example, if you want to convert `1.cbz` in your local `/path/to/sourcefiles` folder:
|
||||
Kindlegen **must be accessible to the Docker container in its /opt/kcc/kindlegen folder**. You must also make your other path accessible in another folder. Here's one such example, if you want to convert `1.cbz` in your local `/path/to/sourcefiles` folder:
|
||||
|
||||
```bash
|
||||
$ docker run --rm -v "/path/to/kindlegen:/opt/kcc" -v "/path/to/sourcefiles:/opt/kcc/files" ghcr.io/ciromattia/kcc:latest -p KPW5 files/1.cbz
|
||||
$ docker run --rm -v "/path/to/kindlegen:/opt/kcc/kindlegen" -v "/path/to/sourcefiles:/opt/kcc/files" ghcr.io/ciromattia/kcc:latest -p KPW5 files/1.cbz
|
||||
```
|
||||
|
||||
where `/path/to/kindlegen` is the folder where you have Kindlegen in, and `/path/to/sourcefiles` is the path to the source files you're trying to convert.
|
||||
|
||||
Reference in New Issue
Block a user