Skip to content

Commit

Permalink
dockerfile: build Tesseract in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
bertsky committed Aug 2, 2024
1 parent 80efed8 commit 2847656
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ COPY ocrd_tesserocr .
COPY repo/tesserocr repo/tesserocr
COPY repo/tesseract repo/tesseract
COPY Makefile .
RUN make deps-ubuntu deps install install-tesseract-training \
RUN make deps-ubuntu \
&& make -j4 install-tesseract \
&& make -j4 install-tesseract-training \
&& make deps install \
&& rm -rf /build/ocrd_tesserocr \
&& apt-get -y remove --auto-remove g++ libtesseract-dev make

Expand Down

0 comments on commit 2847656

Please sign in to comment.