File size: 349 Bytes
986401c
d0c4ff8
795fd8f
 
 
 
 
 
 
 
d0c4ff8
795fd8f
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM ghcr.io/open-webui/open-webui:ollama

WORKDIR /app

# Copy your application files
COPY main.py .

RUN pip install fastapi uvicorn GitPython

# Create backend directory and initialize git
RUN mkdir -p /app/backend && cd /app/backend && git init

# Command to run the application
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8080"]