KJ24 commited on
Commit
0b09399
·
verified ·
1 Parent(s): 9a32138

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +27 -1
Dockerfile CHANGED
@@ -56,7 +56,33 @@ RUN pip install tokenizers==0.19.0 --no-deps
56
 
57
  # 💥 Installer les dépendances Python (sauf chonkie)
58
 
59
- RUN pip install -r requirements.txt
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  RUN pip install --upgrade pip
61
 
62
 
 
56
 
57
  # 💥 Installer les dépendances Python (sauf chonkie)
58
 
59
+ #RUN pip install -r requirements.txt
60
+
61
+ # Installer les paquets manuellement pour ignorer le conflit pip
62
+ RUN pip install \
63
+ torch==2.1.2 \
64
+ transformers==4.37.2 \
65
+ sentence-transformers==2.6.1 \
66
+ llama-index==0.12.42 \
67
+ llama-index-embeddings-huggingface==0.5.4 \
68
+ llama-index-llms-huggingface==0.3.0 \
69
+ llama-index-llms-llama-cpp==0.3.0 \
70
+ llama-index-readers-file==0.4.9 \
71
+ llama-cpp-python==0.2.35 \
72
+ uvicorn==0.29.0 \
73
+ fastapi==0.111.0 \
74
+ aiohttp==3.9.1 \
75
+ pydantic==1.10.13 \
76
+ pydantic-settings==2.2.1 \
77
+ python-dotenv==1.0.1 \
78
+ python-multipart==0.0.9 \
79
+ huggingface-hub==0.33.1
80
+
81
+
82
+
83
+
84
+
85
+
86
  RUN pip install --upgrade pip
87
 
88