Download Dockerfile from ubix/Deepsk: direct link, hf CLI and curl.
- Browser
- Download file 395 Bytes
-
https://huggingface.co/spaces/ubix/Deepsk/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ubix/Deepsk/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ubix/Deepsk/resolve/main/Dockerfile
395 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 qwen3.5 (quantized for CPU) + keep alive | |
| CMD ollama serve & sleep 15 && ollama pull qwen3.5 && echo "✅ deepseek-r1:8b ready!" && tail -f /dev/null | |