Update for unprivileged usage.

This commit is contained in:
Patrick Jentsch
2019-06-02 21:38:30 +02:00
parent f731634ba1
commit 95adc4d804
3 changed files with 24 additions and 28 deletions

View File

@ -56,4 +56,7 @@ RUN echo "deb https://notesalexp.org/tesseract-ocr/stretch/ stretch main" >> /et
COPY hocrtotei /usr/local/bin
COPY ocr /usr/local/bin
mkdir /input /output
chmod a+rw /input /output
ENTRYPOINT ["ocr"]