Spaces:
Running
Running
Download Dockerfile from chieh2/LiteLLM: direct link, hf CLI and curl.
- Browser
- Download file 393 Bytes
-
https://huggingface.co/spaces/chieh2/LiteLLM/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/chieh2/LiteLLM/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/chieh2/LiteLLM/resolve/main/Dockerfile
393 Bytes
| FROM ghcr.io/berriai/litellm-non_root:main-stable | |
| USER root | |
| RUN apk add curl | |
| COPY entrypoint.sh /docker/entrypoint.sh | |
| RUN chmod +x /docker/entrypoint.sh | |
| RUN mkdir -p /.cache && chmod -R 777 /.cache | |
| COPY proxy_server_config.yaml /config/proxy_server_config.yaml | |
| RUN chmod -R 777 /config | |
| ENTRYPOINT ["/docker/entrypoint.sh"] | |
| CMD ["--port", "4000", "--config", "/config/proxy_server_config.yaml"] |