Skip to content

Commit

Permalink
Upgrade setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
stchris committed Feb 24, 2025
1 parent f76bcd4 commit fa740d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN echo "deb http://http.us.debian.org/debian stable non-free" >/etc/apt/source
&& apt-get -qq -y update \
&& apt-get -qq -y install build-essential locales \
# python deps (mostly to install their dependencies)
python3-dev python3-setuptools \
python3-dev \
# tesseract
tesseract-ocr libtesseract-dev libleptonica-dev \
# libraries
Expand Down Expand Up @@ -121,7 +121,7 @@ RUN mkdir /models/ && \
curl --keepalive-time 2 -o "/models/model_type_prediction.ftz" "https://public.data.occrp.org/develop/models/types/type-08012020-7a69d1b.ftz"

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

# Install spaCy models
Expand Down

0 comments on commit fa740d2

Please sign in to comment.