Skip to content

Commit

Permalink
Use numpy <2 in docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidMStraub committed Sep 29, 2024
1 parent 7319258 commit 8fe70da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ RUN ARCH=$(uname -m) && \
# copy package source and install
COPY . /app/src
RUN python3 -m pip install --break-system-packages --no-cache-dir --extra-index-url https://www.piwheels.org/simple \
scikit-learn==1.4.2 /app/src[ai]
scikit-learn==1.4.2 numpy==1.26.4 /app/src[ai]

# download and cache sentence transformer model
RUN python3 -c "\
Expand Down

0 comments on commit 8fe70da

Please sign in to comment.