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.
22 lines
405 B
Docker
22 lines
405 B
Docker
FROM ocrd/core
|
|
MAINTAINER OCR-D
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
ENV PYTHONIOENCODING utf8
|
|
ENV LC_ALL C.UTF-8
|
|
ENV LANG C.UTF-8
|
|
|
|
WORKDIR /build
|
|
COPY Makefile .
|
|
COPY setup.py .
|
|
COPY ocrd-tool.json .
|
|
COPY requirements.txt .
|
|
COPY README.md .
|
|
COPY ocrd_calamari ocrd_calamari
|
|
|
|
RUN pip3 install --upgrade pip && \
|
|
pip3 install . && \
|
|
pip3 check
|
|
|
|
ENTRYPOINT ["/usr/local/bin/ocrd-calamari-recognize"]
|
|
|