You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
360 B
Plaintext
20 lines
360 B
Plaintext
4 years ago
|
ARG DRONE_COMMIT="latest"
|
||
|
FROM quratorspk/ocrd-galley-core-cuda10.1:$DRONE_COMMIT
|
||
|
|
||
|
ARG PIP_INSTALL="pip install --no-cache-dir"
|
||
|
ARG OCRD_ANYBASEOCR_VERSION="1.5.0"
|
||
|
|
||
|
|
||
|
|
||
|
# Build pip installable stuff
|
||
|
RUN ${PIP_INSTALL} \
|
||
|
"ocrd_anybaseocr == ${OCRD_ANYBASEOCR_VERSION}"
|
||
|
|
||
|
|
||
|
# Check pip dependencies
|
||
|
RUN pip check
|
||
|
|
||
|
|
||
|
# Default command
|
||
|
CMD ["ocrd-anybaseocr-crop"]
|