Download Dockerfile from FunJim/litellm: direct link, hf CLI and curl.
- Browser
- Download file 333 Bytes
-
https://huggingface.co/spaces/FunJim/litellm/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/FunJim/litellm/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/FunJim/litellm/resolve/main/Dockerfile
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" ] | |