gemma.gguf / Dockerfile
Arabic250's picture
Rename Dockerfile (1).txt to Dockerfile
66cf051 verified
raw
history blame contribute delete
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"]