ocrd-galley/Dockerfile-ocrd_segment

20 lines
372 B
Text
Raw Normal View History

2023-03-15 17:04:59 +01:00
ARG GIT_COMMIT="latest"
FROM quratorspk/ocrd-galley-core:$GIT_COMMIT
2021-02-08 19:10:19 +01:00
ARG PIP_INSTALL="pip install --no-cache-dir"
2022-09-14 19:11:31 +02:00
ARG OCRD_SEGMENT_VERSION="0.1.21"
2021-02-08 19:10:19 +01:00
# Build pip installable stuff
RUN ${PIP_INSTALL} \
# Now the real stuff:
"ocrd-segment == ${OCRD_SEGMENT_VERSION}"
2021-02-08 19:10:19 +01:00
# Check pip dependencies
RUN pip check
# Default command
CMD ["ocrd-segment-extract-regions"]