(fix) dockerfile for semantic caching

This commit is contained in:
ishaan-jaff 2024-02-06 19:23:27 -08:00
parent 7b26b3b789
commit c69eaebfd8
2 changed files with 6 additions and 0 deletions

View file

@ -32,6 +32,9 @@ RUN pip install dist/*.whl
# install dependencies as wheels
RUN pip wheel --no-cache-dir --wheel-dir=/wheels/ -r requirements.txt
# install semantic-cache [Experimental]- we need this here and not in requirements.txt because redisvl pins to pydantic 1.0
RUN pip install redisvl==0.0.7 --no-deps
# Runtime stage
FROM $LITELLM_RUNTIME_IMAGE as runtime