add tesseract languages GERMAN and ENGLISH
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Aaron Riedel 2022-07-05 10:26:44 +02:00
parent 29a36f449d
commit 706a2d9219
Signed by: aaron
GPG key ID: 643004654D40D577

View file

@ -1,2 +1,4 @@
FROM amd64/nextcloud:24.0.2-fpm FROM amd64/nextcloud:24.0.2-fpm
RUN apt-get update && apt-get install -y libmagickcore-6.q16-6-extra tesseract-ocr && apt-get clean autoclean && apt-get autoremove -y RUN apt-get update && apt-get install -y libmagickcore-6.q16-6-extra tesseract-ocr && apt-get clean autoclean && apt-get autoremove -y
ADD https://raw.githubusercontent.com/tesseract-ocr/tessdata/main/deu.traineddata /usr/share/tesseract-ocr/tessdata/
ADD https://raw.githubusercontent.com/tesseract-ocr/tessdata/main/eng.traineddata /usr/share/tesseract-ocr/tessdata/