mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-07-10 21:49:53 +02:00
🔥 Replace pipdeptree call with "pip3 check"
This commit is contained in:
parent
e860549109
commit
2a14d21925
1 changed files with 2 additions and 4 deletions
|
@ -75,15 +75,13 @@ COPY data/textline_detection /var/lib/textline_detection
|
||||||
|
|
||||||
COPY requirements.txt /tmp
|
COPY requirements.txt /tmp
|
||||||
RUN pip3 install --no-cache-dir --upgrade pip && \
|
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 my_ocrd_workflow /usr/bin
|
||||||
COPY xsd/* /usr/share/xml/
|
COPY xsd/* /usr/share/xml/
|
||||||
|
|
||||||
|
|
||||||
RUN pip3 install --no-cache-dir pipdeptree && \
|
|
||||||
pipdeptree -w fail
|
|
||||||
|
|
||||||
# XXX Work around concurrency problems(?)
|
# 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
|
RUN sed -i 's#num_cores *= *cpu_count()#num_cores = 1#' /usr/local/lib/python3.6/dist-packages/qurator/sbb_textline_detector/main.py
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue