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.
ocrd_calamari/Dockerfile

21 lines
385 B
Docker

FROM ocrd/core
5 years ago
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 .
5 years ago
COPY ocrd_calamari ocrd_calamari
RUN pip3 install --upgrade pip && \
pip3 install .
5 years ago
ENTRYPOINT ["/usr/local/bin/ocrd-calamari-recognize"]