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.
23 lines
423 B
Plaintext
23 lines
423 B
Plaintext
FROM boxed-base
|
|
|
|
|
|
ENV SBB_TEXTLINE_DETECTOR_COMMIT 8b01d9e
|
|
|
|
|
|
# Build pip installable stuff
|
|
RUN pip3 install --no-cache-dir \
|
|
# Now the real stuff:
|
|
https://github.com/qurator-spk/sbb_textline_detector/archive/$SBB_TEXTLINE_DETECTOR_COMMIT.tar.gz
|
|
|
|
|
|
# Copy OCR models
|
|
COPY data/textline_detection /var/lib/textline_detection
|
|
|
|
|
|
# Check pip dependencies
|
|
RUN pip3 check
|
|
|
|
|
|
# Default command
|
|
CMD ["ocrd-sbb-textline-detector"]
|