forked from phoenix/litellm-mirror
fic docker file to run in non root model
This commit is contained in:
parent
353b470cbc
commit
fef6f50e23
1 changed files with 5 additions and 0 deletions
|
@ -62,6 +62,11 @@ COPY --from=builder /wheels/ /wheels/
|
||||||
RUN pip install *.whl /wheels/* --no-index --find-links=/wheels/ && rm -f *.whl && rm -rf /wheels
|
RUN pip install *.whl /wheels/* --no-index --find-links=/wheels/ && rm -f *.whl && rm -rf /wheels
|
||||||
|
|
||||||
# Generate prisma client
|
# Generate prisma client
|
||||||
|
ENV PRISMA_BINARY_CACHE_DIR=/app/prisma
|
||||||
|
RUN mkdir -p /.cache
|
||||||
|
RUN chmod -R 777 /.cache
|
||||||
|
RUN pip install nodejs-bin
|
||||||
|
RUN pip install prisma
|
||||||
RUN prisma generate
|
RUN prisma generate
|
||||||
RUN chmod +x entrypoint.sh
|
RUN chmod +x entrypoint.sh
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue