mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-06-09 22:59:53 +02:00
🐳 Docker: Consistently use trailing slash when copying a file to a directory
This commit is contained in:
parent
2cf68f149d
commit
b08dc66f9f
1 changed files with 3 additions and 3 deletions
|
@ -67,7 +67,7 @@ RUN pip3 install --no-cache-dir --upgrade pip && \
|
||||||
RUN mkdir -p /var/lib/calamari-models
|
RUN mkdir -p /var/lib/calamari-models
|
||||||
COPY data/calamari-models/GT4HistOCR /var/lib/calamari-models/GT4HistOCR
|
COPY data/calamari-models/GT4HistOCR /var/lib/calamari-models/GT4HistOCR
|
||||||
RUN mkdir -p $TESSDATA_PREFIX
|
RUN mkdir -p $TESSDATA_PREFIX
|
||||||
COPY data/tesseract-models/GT4HistOCR/GT4HistOCR_2000000.traineddata $TESSDATA_PREFIX
|
COPY data/tesseract-models/GT4HistOCR/GT4HistOCR_2000000.traineddata $TESSDATA_PREFIX/
|
||||||
|
|
||||||
RUN tesseract --list-langs
|
RUN tesseract --list-langs
|
||||||
|
|
||||||
|
@ -77,12 +77,12 @@ COPY vendor vendor
|
||||||
COPY data/textline_detection /var/lib/textline_detection
|
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
|
pip3 check
|
||||||
|
|
||||||
COPY my_ocrd_workflow /usr/bin
|
COPY my_ocrd_workflow /usr/bin/
|
||||||
COPY xsd/* /usr/share/xml/
|
COPY xsd/* /usr/share/xml/
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue