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"] |