Skip to content

Commit

Permalink
dockerfile: copy .git repo as well (so submodule update works) during…
Browse files Browse the repository at this point in the history
… build
  • Loading branch information
bertsky committed Aug 2, 2024
1 parent c29139a commit f716845
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit f716845

Please sign in to comment.