ocrd-galley/Dockerfile-sbb_binarization

20 lines
376 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
ARG PIP_INSTALL="pip install --no-cache-dir"
ARG SBB_BINARIZATION_VERSION="0.0.10"
# Build pip installable stuff
RUN ${PIP_INSTALL} \
# Now the real stuff:
"sbb_binarization == $SBB_BINARIZATION_VERSION"
# Check pip dependencies
2020-11-19 18:25:10 +01:00
RUN pip check
# Default command
CMD ["ocrd-sbb-binarize"]