owebui / dockerfile
huijio's picture
Update dockerfile
69cde88 verified
FROM python:3.11-slim
# Install system dependencies
RUN apt-get update && apt-get install -y curl git
# Install Open WebUI
RUN pip install open-webui
# Install FastAPI (to keep HF Spaces happy)
RUN pip install fastapi uvicorn
# Copy the proxy script
COPY app.py /app.py
# Start Open WebUI + FastAPI proxy
CMD open-webui serve & uvicorn app:app --host 0.0.0.0 --port 7860