🔥 Replace pipdeptree call with "pip3 check"

This commit is contained in:
Gerber, Mike 2020-02-07 12:21:43 +01:00
parent e860549109
commit 2a14d21925

View file

@ -75,15 +75,13 @@ COPY data/textline_detection /var/lib/textline_detection
COPY requirements.txt /tmp
RUN pip3 install --no-cache-dir --upgrade pip && \
pip3 install --no-cache-dir -r /tmp/requirements.txt
pip3 install --no-cache-dir -r /tmp/requirements.txt && \
pip3 check
COPY my_ocrd_workflow /usr/bin
COPY xsd/* /usr/share/xml/
RUN pip3 install --no-cache-dir pipdeptree && \
pipdeptree -w fail
# XXX Work around concurrency problems(?)
RUN sed -i 's#num_cores *= *cpu_count()#num_cores = 1#' /usr/local/lib/python3.6/dist-packages/qurator/sbb_textline_detector/main.py