mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-07-31 20:04:52 +00:00
Fix ocrmypdf containers not being removed after a run
before they would kind of lying around and pile up after a couple of processed items
This commit is contained in:
@ -3,4 +3,4 @@
|
|||||||
if [ ! "$1" == "--version" ]; then
|
if [ ! "$1" == "--version" ]; then
|
||||||
echo "Using docker image for ocrmypdf (Version: $OCRMYPDF_VERSION)"
|
echo "Using docker image for ocrmypdf (Version: $OCRMYPDF_VERSION)"
|
||||||
fi
|
fi
|
||||||
docker run -v '/tmp/docspell-convert:/tmp/docspell-convert' -e "TZ=$TZ" jbarlow83/ocrmypdf:$OCRMYPDF_VERSION $@
|
docker run --rm -v '/tmp/docspell-convert:/tmp/docspell-convert' -e "TZ=$TZ" jbarlow83/ocrmypdf:$OCRMYPDF_VERSION $@
|
||||||
|
Reference in New Issue
Block a user