vectorless_RAG / Dockerfile
AI Assistant
feat: integrate PostgreSQL persistence for documents, trees, and chat sessions
8eaad14
Raw History Blame Contribute Delete
375 Bytes
FROM python:3.11-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
WORKDIR /app
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
COPY requirements.txt pyproject.toml uv.lock ./
RUN uv pip install --system -r requirements.txt
COPY app/ ./app/
WORKDIR /app/app
EXPOSE 7860
CMD ["python", "-m", "uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]