Spaces:
Running
Running
Deploy cce7699f
Browse files- 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
|
| 79 |
-
RUN python -c "import
|
|
|
|
|
|
|
| 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 . .
|