🐳 Docker: Do not use the make target to install calamari-ocr, stick to pip

fix/readme-no-checkpoint
Gerber, Mike 5 years ago
parent 41f5c8a8fa
commit a2d1d76dbd

@ -13,7 +13,6 @@ COPY requirements.txt .
COPY README.md . COPY README.md .
COPY ocrd_calamari ocrd_calamari COPY ocrd_calamari ocrd_calamari
RUN make calamari/build
RUN pip3 install --upgrade pip && \ RUN pip3 install --upgrade pip && \
pip3 install . pip3 install .

@ -11,9 +11,7 @@ help:
@echo " Targets" @echo " Targets"
@echo "" @echo ""
@echo " install Install ocrd_calamari" @echo " install Install ocrd_calamari"
@echo " calamari Clone calamari repo"
@echo " gt4histocr-calamari Get GT4HistOCR Calamari model (from SBB)" @echo " gt4histocr-calamari Get GT4HistOCR Calamari model (from SBB)"
@echo " calamari/build pip install calamari"
@echo " deps-test Install testing python deps via pip" @echo " deps-test Install testing python deps via pip"
@echo " repo/assets Clone OCR-D/assets to ./repo/assets" @echo " repo/assets Clone OCR-D/assets to ./repo/assets"
@echo " test/assets Setup test assets" @echo " test/assets Setup test assets"
@ -33,9 +31,6 @@ help:
install: install:
$(PIP_INSTALL) . $(PIP_INSTALL) .
# Clone calamari repo
calamari:
$(GIT_CLONE) https://github.com/chwick/calamari
gt4histocr-calamari: gt4histocr-calamari:
mkdir gt4histocr-calamari mkdir gt4histocr-calamari
@ -50,10 +45,6 @@ actevedef_718448162:
unzip actevedef_718448162.zip unzip actevedef_718448162.zip
# pip install calamari
calamari/build: calamari
cd calamari && $(PIP_INSTALL) .
# #
# Assets and Tests # Assets and Tests

Loading…
Cancel
Save