Spaces:
Sleeping
Sleeping
Download Dockerfile from LuillY3/glm-flash-api: direct link, hf CLI and curl.
- Browser
- Download file 405 Bytes
-
https://huggingface.co/spaces/LuillY3/glm-flash-api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/LuillY3/glm-flash-api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/LuillY3/glm-flash-api/resolve/main/Dockerfile
405 Bytes
| FROM ghcr.io/ggml-org/llama.cpp:server | |
| USER root | |
| RUN apt-get update && apt-get install -y \ | |
| python3 python3-pip curl ca-certificates \ | |
| && pip3 install --break-system-packages --no-cache-dir "huggingface_hub" \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN mkdir -p /models && chmod 777 /models | |
| COPY entrypoint.sh /entrypoint.sh | |
| RUN chmod +x /entrypoint.sh | |
| EXPOSE 7860 | |
| ENTRYPOINT ["/entrypoint.sh"] | |