Download Dockerfile from triflix/generic: direct link, hf CLI and curl.
- Browser
- Download file 603 Bytes
-
https://huggingface.co/spaces/triflix/generic/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/triflix/generic/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/triflix/generic/resolve/main/Dockerfile
603 Bytes
| # ============================================================ | |
| # HuggingFace Space: Ollama + Open WebUI (CPU, 16GB RAM) | |
| # Uses official pre-built image β no manual installs needed! | |
| # ============================================================ | |
| FROM ghcr.io/open-webui/open-webui:ollama | |
| # ββ HuggingFace Spaces requires port 7860 ββββββββββββββββββ | |
| ENV PORT=7860 | |
| ENV OLLAMA_BASE_URL=http://localhost:11434 | |
| ENV WEBUI_AUTH=False | |
| EXPOSE 7860 | |
| # Official image already has its own start.sh that boots | |
| # both Ollama + Open WebUI β we just override the port above |