mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-21 16:21:51 +02:00
Add tesseract for ocr
This commit is contained in:
@@ -4,6 +4,11 @@ FROM ${BUILD_FROM}
|
|||||||
|
|
||||||
ENV NEXTCLOUD_PATH="/data/config/www/nextcloud"
|
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
|
# modify/copy files
|
||||||
RUN sed -i "s|data|share/nextcloud|g" /etc/cont-init.d/*
|
RUN sed -i "s|data|share/nextcloud|g" /etc/cont-init.d/*
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user