ocrd-galley/Dockerfile-ocrd_calamari

21 lines
447 B
Text
Raw Normal View History

2023-03-15 17:04:59 +01:00
ARG GIT_COMMIT="latest"
FROM quratorspk/ocrd-galley-core-cuda12.1:$GIT_COMMIT
# XXX https://github.com/OCR-D/core/issues/642
#ARG PIP_INSTALL="pip install --no-cache-dir"
ARG PIP_INSTALL="pip install --no-cache-dir"
2022-09-16 18:31:11 +02:00
ARG OCRD_CALAMARI_VERSION="1.0.5"
# Build pip installable stuff
RUN ${PIP_INSTALL} \
"ocrd_calamari == $OCRD_CALAMARI_VERSION"
# Check pip dependencies
RUN pip check
# Default command
CMD ["ocrd-calamari-recognize"]