File size: 397 Bytes
0ed50da
 
c818ddd
0ed50da
c818ddd
 
 
 
0ed50da
 
c9605ee
c818ddd
c9605ee
6fa9f28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Use the official prebuilt server image
FROM ghcr.io/ggml-org/llama.cpp:server

# Hugging Face Spaces port requirement
ENV HOST=0.0.0.0
ENV PORT=7860
EXPOSE 7860

# Pass ONLY the arguments via CMD. 
# The base image already knows where the binary is and will execute it.
CMD ["-hf", "unsloth/gemma-4-31B-it-GGUF:IQ4_XS", \
     "--host", "0.0.0.0", \
     "--port", "7860", \
     "-c", "128000"]