From f7168450fe1d1fc965794434b374bcb77001a4dc Mon Sep 17 00:00:00 2001 From: Robert Sachunsky Date: Fri, 2 Aug 2024 12:37:38 +0200 Subject: [PATCH] dockerfile: copy .git repo as well (so submodule update works) during build --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index e840788..168b422 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,9 +37,10 @@ COPY ocrd_tesserocr/ocrd-tool.json . COPY README.md . COPY requirements.txt . COPY requirements_test.txt . -COPY ocrd_tesserocr ./ocrd_tesserocr -COPY repo/tesserocr ./repo/tesserocr -COPY repo/tesseract ./repo/tesseract +COPY .git . +COPY ocrd_tesserocr . +COPY repo/tesserocr ./repo +COPY repo/tesseract ./repo COPY Makefile . RUN make deps-ubuntu deps install install-tesseract-training \ && rm -rf /build/ocrd_tesserocr \