mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
Update Dockerfile to include Prisma generation
Added Prisma generation step and cleaned up npm removal.
This commit is contained in:
parent
904e546efb
commit
363b1fb0ee
1 changed files with 3 additions and 1 deletions
|
|
@ -150,6 +150,8 @@ RUN pip install --no-index --find-links=/wheels/ -r requirements.txt && \
|
|||
pip install --no-index --find-links=/wheels/ "PyJWT==${PYJWT_VERSION}" && \
|
||||
rm -rf /wheels
|
||||
|
||||
RUN python3 -m prisma generate
|
||||
|
||||
RUN python3 - <<'PY'
|
||||
import site, pathlib, subprocess, tarfile, tempfile, shutil, sys, inspect
|
||||
|
||||
|
|
@ -249,7 +251,7 @@ RUN sed -i 's/\r$//' /app/docker/entrypoint.sh && \
|
|||
mkdir -p /app/.litellm_migrations /app/.cache/npm && \
|
||||
chown -R 65534:65534 /app /var/lib/litellm/ui /var/lib/litellm/assets /app/.cache/prisma-python
|
||||
|
||||
RUN apt-get purge -y --auto-remove nodejs npm && \
|
||||
RUN apt-get purge -y --auto-remove npm && \
|
||||
rm -rf /var/lib/apt/lists/* /app/.cache/npm
|
||||
|
||||
USER 65534:65534
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue