fix: install litellm-proxy-extras from local source in Dockerfile.database to pick up schema changes

This commit is contained in:
Ishaan Jaffer 2026-04-01 09:50:54 -07:00
parent 4030378aa7
commit 02fc7d10bc

View file

@ -84,6 +84,9 @@ COPY --from=builder /wheels/ /wheels/
# Install the built wheel using pip; again using a wildcard if it's the only file
RUN pip install *.whl /wheels/* --no-index --find-links=/wheels/ && rm -f *.whl && rm -rf /wheels
# Install litellm-proxy-extras from local source to pick up schema changes not in the PyPI release
RUN pip install --force-reinstall --no-deps /app/litellm-proxy-extras/
# SECURITY FIX: nodejs-wheel-binaries (pip package used by Prisma) bundles a complete
# npm with old vulnerable deps at /usr/lib/python3.*/site-packages/nodejs_wheel/.
# Patch every copy of tar, glob, and brace-expansion inside that tree.