diff --git a/Dockerfile b/Dockerfile index 2843a21..58c105f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,8 @@ RUN apt-get update && \ apt-get clean COPY requirements.txt /tmp -RUN pip3 install --no-cache-dir -r /tmp/requirements.txt +RUN pip3 install --no-cache-dir ocrd-utils && \ + pip3 install --no-cache-dir -r /tmp/requirements.txt COPY my_ocrd_workflow /usr/bin COPY xsd /usr/bin/xsd diff --git a/requirements.txt b/requirements.txt index d0bd925..8a4c2f5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,8 @@ +# XXX use official release when https://github.com/OCR-D/core/pull/250 is merged: +git+https://github.com/mikegerber/core.git@f385c5fc428fd27a48910ddf047241df19c6b378#subdirectory=ocrd_models&egg=ocrd-models + git+https://github.com/seuretm/ocrd_typegroups_classifier.git + ocrd_kraken tesserocr == 2.3.1 # 2.4.0 fails with Ubuntu 18.04's tesseract ocrd_tesserocr