Clawd / Dockerfile
ubix's picture
Update Dockerfile
2de6dbe verified
Raw
History Blame Contribute Delete
419 Bytes
FROM ollama/ollama:latest
# HF Spaces (free CPU) expects port 7860
ENV OLLAMA_HOST=0.0.0.0:7860
ENV OLLAMA_MAX_LOADED_MODELS=1
EXPOSE 7860
# Override default entrypoint so we can run normal commands
ENTRYPOINT []
# Start Ollama server + pull deepseek-coder:6.7b (quantized for CPU) + keep alive
CMD ollama serve & sleep 15 && ollama pull deepseek-coder:6.7b && echo "✅ deepseek-r1:8b ready!" && tail -f /dev/null