From 4995025e45e371c442a982cc2c9a0cc120b66a40 Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Tue, 8 Jan 2019 12:38:07 +0100 Subject: [PATCH] Create input and output directories in Dockerfile. --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 4e020ce..697e5b2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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/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 parse_hocr /usr/local/bin