Sdm0 commited on
Commit
6b508b4
·
verified ·
1 Parent(s): 3d06df9

Deploy cce7699f

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -3
Dockerfile CHANGED
@@ -73,10 +73,12 @@ COPY --from=builder /usr/local/bin /usr/local/bin
73
  # Install ragas+litellm normally (with deps) so transitive dependencies like
74
  # numpy, datasets, etc. are available at import time.
75
  # Pin numpy<2 to stay compatible with chromadb (uses numpy.float_ removed in 2.x)
76
- RUN pip install --no-cache-dir langfuse "ragas>=0.3,<0.4" "numpy<2" litellm
77
 
78
- # Verify ragas + chromadb are both importable (numpy version compatibility check)
79
- RUN python -c "import ragas, chromadb; print(f'ragas {ragas.__version__} + chromadb OK')"
 
 
80
 
81
  # Copy application code
82
  COPY . .
 
73
  # Install ragas+litellm normally (with deps) so transitive dependencies like
74
  # numpy, datasets, etc. are available at import time.
75
  # Pin numpy<2 to stay compatible with chromadb (uses numpy.float_ removed in 2.x)
76
+ RUN pip install --no-cache-dir langfuse "ragas>=0.3,<0.4" "numpy<2" "litellm>=1.0,<2.0"
77
 
78
+ # Verify critical packages are importable
79
+ RUN python -c "import chromadb; print('chromadb OK')"
80
+ RUN python -c "import ragas; print(f'ragas {ragas.__version__} OK')"
81
+ RUN python -c "import litellm; print(f'litellm {litellm.__version__} OK')"
82
 
83
  # Copy application code
84
  COPY . .