mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-26 20:08:38 +02:00
Fix image build by pinning safetensors version
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
FROM python:3.11-slim-bullseye
|
FROM python:3.11.4-slim-bullseye
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y git cmake pkg-config libprotobuf-c-dev protobuf-compiler \
|
&& apt-get install -y git cmake pkg-config libprotobuf-c-dev protobuf-compiler \
|
||||||
|
@@ -38,6 +38,9 @@ requests==2.31.0
|
|||||||
requests-oauthlib==1.3.1
|
requests-oauthlib==1.3.1
|
||||||
retry==0.9.2
|
retry==0.9.2
|
||||||
rfc3986==1.5.0
|
rfc3986==1.5.0
|
||||||
|
# need to pin `safetensors` version, since the latest versions require
|
||||||
|
# building from source using Rust
|
||||||
|
safetensors==0.3.1
|
||||||
sentence-transformers==2.2.2
|
sentence-transformers==2.2.2
|
||||||
slack-sdk==3.20.2
|
slack-sdk==3.20.2
|
||||||
SQLAlchemy[mypy]==2.0.12
|
SQLAlchemy[mypy]==2.0.12
|
||||||
|
Reference in New Issue
Block a user