File size: 375 Bytes
0e78887
b80f5c7
69cde88
272efe4
 
 
0e78887
b80f5c7
69cde88
272efe4
 
69cde88
272efe4
 
69cde88
272efe4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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