litellm / Dockerfile
FunJim's picture
Remove SERVER_ROOT_PATH environment variable from Dockerfile
da8327b
raw
history blame contribute delete
333 Bytes
FROM ghcr.io/berriai/litellm:main-stable
ENV TZ=Asia/Shanghai
RUN --mount=type=secret,id=LITELLM_CONFIG_GIST_URL,mode=0444,required=true \
wget -O /app/config.yaml "$(cat /run/secrets/LITELLM_CONFIG_GIST_URL)"
EXPOSE 7860
ENTRYPOINT ["litellm"]
CMD [ "--config", "/app/config.yaml", "--port", "7860", "--num_workers", "8" ]