haiku.rag/examples/ag-ui-research/backend/Dockerfile
2025-10-27 16:53:08 +02:00

20 lines
492 B
Docker

FROM ghcr.io/ggozad/haiku.rag:latest
WORKDIR /app
# Copy backend application files
COPY agent.py main.py ./
COPY pyproject.toml ./
# Install backend dependencies
# Note: haiku-rag is already installed in the base image
RUN pip install --no-cache-dir \
starlette>=0.45.2 \
uvicorn[standard]>=0.34.2 \
pydantic-ai-slim[ag-ui,openai]>=1.1.0 \
python-dotenv>=1.0.1
EXPOSE 8000
# Run with uvicorn
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000", "--reload"]