1
0
Fork 0
mirror of https://github.com/mikegerber/ocrd_calamari.git synced 2025-06-09 19:59:53 +02:00

Dockerfile

This commit is contained in:
Konstantin Baierer 2019-10-26 22:12:16 +02:00
parent 3e8c1ac338
commit 3b05dd5bd7
2 changed files with 47 additions and 0 deletions

19
Dockerfile Normal file
View file

@ -0,0 +1,19 @@
FROM ocrd/core:edge
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 ocrd_calamari ocrd_calamari
RUN make calamari/build
RUN pip3 install .
ENTRYPOINT ["/usr/local/bin/ocrd-calamari-recognize"]