Spaces:
Paused
Paused
Download Dockerfile from Vlunka/Jellowkami: direct link, hf CLI and curl.
- Browser
- Download file 546 Bytes
-
https://huggingface.co/spaces/Vlunka/Jellowkami/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Vlunka/Jellowkami/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Vlunka/Jellowkami/resolve/main/Dockerfile
546 Bytes
| FROM eceasy/cli-proxy-api:latest | |
| USER root | |
| RUN apt-get update \ | |
| && apt-get install -y --no-install-recommends bash libc6 ca-certificates tzdata \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| RUN cp /CLIProxyAPI/CLIProxyAPI ./cli-proxy-api && chmod +x ./cli-proxy-api | |
| RUN mkdir -p /tmp/.cli-proxy-api /tmp/logs /tmp/pg_cache/pgstore \ | |
| && chmod -R 777 /tmp | |
| COPY config.yaml /app/config.yaml | |
| RUN cp /app/config.yaml /app/config.example.yaml | |
| ENV TZ=Asia/Shanghai | |
| EXPOSE 7860 | |
| CMD ["./cli-proxy-api", "--config", "/app/config.yaml"] |