Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files4 unmodified lines567891011121314151617181920214 unmodified linesWORKDIR /app# Verified DeepSeek-R1-Distill-Qwen-7B GGUF URL (-f ensures curl fails on 404 HTML pages)ARG MODEL_URL=https://huggingface.coRUN curl -fL -o /app/model.gguf "${MODEL_URL}"EXPOSE 7860HEALTHCHECK --interval=30s --timeout=5s --start-period=60s --retries=3 \CMD curl -f http://localhost:7860/health || exit 1ENTRYPOINT ["/app/llama-server"]CMD ["-m", "/app/model.gguf", \"--host", "0.0.0.0", \"--port", "7860", \"--threads", "2", \4 unmodified lines5678910111213141516171819204 unmodified linesWORKDIR /app# Store downloaded HF models inside /app/modelsENV LLAMA_CACHE=/app/modelsEXPOSE 7860HEALTHCHECK --interval=30s --timeout=5s --start-period=120s --retries=3 \CMD curl -f http://localhost:7860/health || exit 1ENTRYPOINT ["/app/llama-server"]CMD ["-hf", "unsloth/DeepSeek-R1-Distill-Qwen-7B-GGUF:Q4_K_M", \"--host", "0.0.0.0", \"--port", "7860", \"--threads", "2", \
Dockerfile+4-5