File size: 603 Bytes
c2fefe7
 
f86972d
c2fefe7
 
f86972d
c2fefe7
f86972d
 
 
 
c2fefe7
 
 
f86972d
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# ============================================================
# 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