Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pip, setuptools and wheel before installing packages #510

Merged
merged 7 commits into from
Oct 24, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Prefer binary
  • Loading branch information
stchris committed Oct 5, 2023
commit bb1001a8eaaab415f5c505ad188cf3392266bf00
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ RUN mkdir /models/ && \
# Having updated pip/setuptools seems to break the test run for some reason (12/01/2022)
# RUN pip3 install --no-cache-dir -U pip setuptools
COPY requirements.txt /tmp/
RUN pip3 install --upgrade pip
RUN pip3 install --upgrade setuptools wheel
RUN pip3 install --no-cache-dir -r /tmp/requirements.txt
RUN pip3 install --no-cache-dir --prefer-binary --upgrade pip
RUN pip3 install --no-cache-dir --prefer-binary --upgrade setuptools wheel
RUN pip3 install --no-cache-dir --prefer-binary -r /tmp/requirements.txt

# Install spaCy models
RUN python3 -m spacy download en_core_web_sm \
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ languagecodes==1.1.1
countrytagger==0.1.2
pyicu==2.11
google-cloud-vision==3.4.4
tesserocr==2.5.2
tesserocr==2.6.1
spacy==3.6.1
fingerprints==1.1.1
fasttext==0.9.2
Expand Down
Loading