HedronCreeper commited on
Commit
22118c4
·
verified ·
1 Parent(s): 1643167

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -0
Dockerfile ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ FROM ghcr.io/ggml-org/llama.cpp:server
2
+
3
+ RUN apt update && apt install wget -y && rm -rf /var/lib/apt/lists/*
4
+
5
+ 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
6
+ 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
7
+
8
+
9
+ 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"]