mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-21 09:58:26 +00:00
Bugfixes
- Using a script in `/usr/local/bin ` now to overwrit the default *ocrmypdf* version and thus replaced the approach using a bash function - Also had to add volume mapping to docker call **ATTENTION** the path /tmp/docspell-convert:/tmp/docspell-convert must be mapped when starting Docspell's docker image!
This commit is contained in:
6
docker/joex-ocrmypdf.sh
Normal file
6
docker/joex-ocrmypdf.sh
Normal file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ ! "$1" == "--version" ]; then
|
||||
echo "Using docker image for ocrmypdf (Version: $OCRMYPDF_VERSION)"
|
||||
fi
|
||||
docker run -v '/tmp/docspell-convert:/tmp/docspell-convert' -e "TZ=$TZ" jbarlow83/ocrmypdf:$OCRMYPDF_VERSION $@
|
Reference in New Issue
Block a user