Skip to content

Commit fa740d2

Browse files
committed
Upgrade setuptools
1 parent f76bcd4 commit fa740d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ RUN echo "deb http://http.us.debian.org/debian stable non-free" >/etc/apt/source
1010
&& apt-get -qq -y update \
1111
&& apt-get -qq -y install build-essential locales \
1212
# python deps (mostly to install their dependencies)
13-
python3-dev python3-setuptools \
13+
python3-dev \
1414
# tesseract
1515
tesseract-ocr libtesseract-dev libleptonica-dev \
1616
# libraries
@@ -121,7 +121,7 @@ RUN mkdir /models/ && \
121121
curl --keepalive-time 2 -o "/models/model_type_prediction.ftz" "https://public.data.occrp.org/develop/models/types/type-08012020-7a69d1b.ftz"
122122

123123
COPY requirements.txt /tmp/
124-
RUN pip install --upgrade pip
124+
RUN pip install --upgrade pip setuptools
125125
RUN pip3 install --no-cache-dir --no-binary "tesserocr" --no-binary "Pillow" -r /tmp/requirements.txt
126126

127127
# Install spaCy models

0 commit comments

Comments
 (0)