Spaces:
Running
Running
Deploy e1546415
Browse files68 unmodified lines6970717273747576777868 unmodified linesCOPY --from=builder /usr/local/lib/python3.12/site-packages /usr/local/lib/python3.12/site-packagesCOPY --from=builder /usr/local/bin /usr/local/bin# Fallback: multi-stage COPY may not transfer packages reliably on HF Spaces build infra# --no-deps prevents re-resolving transitive deps that may conflict with# chromadb's pinned numpy version (already installed via builder COPY).RUN pip install --no-deps --no-cache-dir langfuse ragas litellm# Copy application codeCOPY . .68 unmodified lines6970717273747576777879808168 unmodified linesCOPY --from=builder /usr/local/lib/python3.12/site-packages /usr/local/lib/python3.12/site-packagesCOPY --from=builder /usr/local/bin /usr/local/bin# Fallback: multi-stage COPY may not transfer packages reliably on HF Spaces build infra.# Install ragas+litellm normally (with deps) so transitive dependencies like# numpy, datasets, etc. are available at import time.RUN pip install --no-cache-dir langfuse ragas litellm# Verify ragas is importableRUN python -c "import ragas; print(f'ragas {ragas.__version__} installed OK')"# Copy application codeCOPY . .
Dockerfile+7-4