Spaces:
Sleeping
Sleeping
File size: 634 Bytes
532d2c9 2212f7c 532d2c9 6367463 1aecffb 6367463 7f28959 1aecffb 11ae990 532d2c9 1aecffb 2828128 6367463 f68e073 6367463 ca78a3b f68e073 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | FROM ghcr.io/ggml-org/llama.cpp:server
USER root
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Store downloaded HF models inside /app/models
ENV LLAMA_CACHE=/app/models
EXPOSE 7860
HEALTHCHECK --interval=30s --timeout=5s --start-period=120s --retries=3 \
CMD curl -f http://localhost:7860/health || exit 1
ENTRYPOINT ["/app/llama-server"]
CMD ["-hf", "unsloth/DeepSeek-R1-Distill-Qwen-7B-GGUF:Q4_K_M", \
"--host", "0.0.0.0", \
"--port", "7860", \
"--threads", "2", \
"--ctx-size", "32768", \
"-ngl", "0", \
"--batch-size", "512", \
"--jinja"]
|