| # ============================================================ | |
| # 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 |