Create input and output directories in Dockerfile.

This commit is contained in:
Patrick Jentsch 2019-01-08 12:38:07 +01:00
parent fc5ae7bd37
commit 4995025e45

View File

@ -54,6 +54,8 @@ RUN echo "deb https://notesalexp.org/tesseract-ocr/stretch/ stretch main" >> /et
wget -nv https://github.com/tesseract-ocr/tessdata_best/raw/master/spa.traineddata -P /usr/share/tesseract-ocr/4.00/tessdata && \ wget -nv https://github.com/tesseract-ocr/tessdata_best/raw/master/spa.traineddata -P /usr/share/tesseract-ocr/4.00/tessdata && \
wget -nv https://github.com/tesseract-ocr/tessdata_best/raw/master/frm.traineddata -P /usr/share/tesseract-ocr/4.00/tessdata wget -nv https://github.com/tesseract-ocr/tessdata_best/raw/master/frm.traineddata -P /usr/share/tesseract-ocr/4.00/tessdata
RUN mkdir files_for_ocr files_from_ocr
COPY ocr_pyflow /usr/local/bin COPY ocr_pyflow /usr/local/bin
COPY parse_hocr /usr/local/bin COPY parse_hocr /usr/local/bin