Spaces:
Sleeping
Sleeping
Download Dockerfile from RobinsAIWorld/gemma4: direct link, hf CLI and curl.
- Browser
- Download file 558 Bytes
-
https://huggingface.co/spaces/RobinsAIWorld/gemma4/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/RobinsAIWorld/gemma4/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/RobinsAIWorld/gemma4/resolve/main/Dockerfile
558 Bytes
| FROM ghcr.io/ggml-org/llama.cpp:server | |
| RUN apt update && apt install wget -y && rm -rf /var/lib/apt/lists/* | |
| RUN wget "https://huggingface.co/ggml-org/gemma-4-E2B-it-GGUF/resolve/main/gemma-4-E2B-it-Q8_0.gguf" -O /gemma-4-E2B-it-Q8_0.gguf | |
| RUN wget "https://huggingface.co/ggml-org/gemma-4-E2B-it-GGUF/resolve/main/mmproj-gemma-4-E2B-it-Q8_0.gguf" -O /mmproj-gemma-4-E2B-it-Q8_0.gguf | |
| CMD ["-m", "/gemma-4-E2B-it-Q8_0.gguf","--mmproj", "/mmproj-gemma-4-E2B-it-Q8_0.gguf", "--port", "7860", "--host", "0.0.0.0", "-t", "2", "-tb", "2", "--mlock", "-b", "512"] |