1
0
Fork 0

update tesseract languages

This commit is contained in:
Aaron Riedel 2023-04-10 18:19:30 +02:00
parent 82670d9678
commit eca9350719

View file

@ -1,4 +1,4 @@
FROM amd64/nextcloud:26.0.0-fpm FROM amd64/nextcloud:26.0.0-fpm
RUN apt-get update && apt-get install -y libmagickcore-6.q16-6-extra tesseract-ocr ocrmypdf && apt-get clean autoclean && apt-get autoremove -y RUN apt-get update && apt-get install -y libmagickcore-6.q16-6-extra tesseract-ocr tesseract-ocr-deu tesseract-ocr-eng ocrmypdf && 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/deu.traineddata /usr/share/tesseract-ocr/tessdata/
ADD https://raw.githubusercontent.com/tesseract-ocr/tessdata/main/eng.traineddata /usr/share/tesseract-ocr/tessdata/ ADD https://raw.githubusercontent.com/tesseract-ocr/tessdata/main/eng.traineddata /usr/share/tesseract-ocr/tessdata/