Download Dockerfile from ubix/Clawd: direct link, hf CLI and curl.
- Browser
- Download file 419 Bytes
-
https://huggingface.co/spaces/ubix/Clawd/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ubix/Clawd/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ubix/Clawd/resolve/main/Dockerfile
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 | |