ocrd-galley/Dockerfile-sbb_binarization

20 lines
375 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"
2023-08-17 19:41:01 +02:00
ARG SBB_BINARIZATION_VERSION="0.1.0"
# 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"]