File size: 558 Bytes
a191204
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
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"]