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