- 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:
Malte
2020-10-27 12:37:37 +01:00
parent cde7519f24
commit 3d074c5fc9
3 changed files with 16 additions and 6 deletions

View File

@ -13,6 +13,7 @@ ENV OCRMYPDF_VERSION=v11.2.1
COPY --from=docspell-base-binaries /opt/docspell-joex /opt/docspell-joex
COPY joex-entrypoint.sh /opt/joex-entrypoint.sh
COPY joex-ocrmypdf.sh /usr/local/bin/joex-ocrmypdf.sh
ENTRYPOINT ["/opt/joex-entrypoint.sh"]
CMD ["/opt/docspell.conf"]