mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-07-27 21:59:52 +02:00
Add work around concurrency problems
This commit is contained in:
parent
9c31d604e9
commit
1a20fe8f38
1 changed files with 3 additions and 0 deletions
|
@ -82,6 +82,9 @@ COPY xsd/* /usr/share/xml/
|
||||||
RUN pip3 install --no-cache-dir pipdeptree && \
|
RUN pip3 install --no-cache-dir pipdeptree && \
|
||||||
pipdeptree -w fail
|
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
|
||||||
|
|
||||||
|
|
||||||
WORKDIR /data
|
WORKDIR /data
|
||||||
CMD ["/usr/bin/my_ocrd_workflow"]
|
CMD ["/usr/bin/my_ocrd_workflow"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue