Skip to content

Commit ede07a7

Browse files
committed
Explicitly avoid binary tesserocr installation
1 parent 16f99f8 commit ede07a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ RUN mkdir /models/ && \
126126
COPY requirements.txt /tmp/
127127
RUN pip3 install --no-cache-dir --prefer-binary --upgrade pip
128128
RUN pip3 install --no-cache-dir --prefer-binary --upgrade setuptools wheel
129-
RUN pip3 install --no-cache-dir --prefer-binary -r /tmp/requirements.txt
129+
RUN pip3 install --no-cache-dir --no-binary "tesserocr" -r /tmp/requirements.txt
130130

131131
# Install spaCy models
132132
RUN python3 -m spacy download en_core_web_sm \

0 commit comments

Comments
 (0)