Add tesseract for ocr

This commit is contained in:
Alexandre
2020-12-14 22:56:44 +01:00
committed by GitHub
parent 228c325cc1
commit 714ee974f3

View File

@@ -4,6 +4,11 @@ FROM ${BUILD_FROM}
ENV NEXTCLOUD_PATH="/data/config/www/nextcloud"
RUN apk update
RUN apk upgrade
RUN apk add tesseract-ocr
RUN apk add tesseract-ocr-data-deu
# modify/copy files
RUN sed -i "s|data|share/nextcloud|g" /etc/cont-init.d/*