generic / Dockerfile
triflix's picture
Update Dockerfile
f86972d verified
raw
history blame contribute delete
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