Phase 3: Memory & Growth - Multi-file fusion, Entity alignment with embedding, Document import, Knowledge base panel

This commit is contained in:
OpenClaw Bot
2026-02-18 12:12:39 +08:00
parent 643fe46780
commit da8a4db985
11 changed files with 1842 additions and 167 deletions

View File

@@ -1,29 +1,33 @@
# InsightFlow - Audio to Knowledge Graph Platform
# Phase 3: Memory & Growth
FROM python:3.11-slim
WORKDIR /app
# Install uv
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
# Install system deps
# Install system dependencies
RUN apt-get update && apt-get install -y \
ffmpeg \
git \
gcc \
libpq-dev \
&& rm -rf /var/lib/apt/lists/*
# Copy project files
COPY backend/pyproject.toml backend/uv.lock ./
# Copy backend requirements
COPY backend/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Install dependencies using uv sync
RUN uv sync --frozen --no-install-project
# Copy code
# Copy application code
COPY backend/ ./backend/
COPY frontend/ ./frontend/
# Install project
RUN uv sync --frozen
# Create data directory
RUN mkdir -p /app/data
# Set environment variables
ENV PYTHONPATH=/app
ENV DB_PATH=/app/data/insightflow.db
# Expose port
EXPOSE 8000
CMD ["uv", "run", "python", "backend/main.py"]
# Run the application
CMD ["python", "-m", "uvicorn", "backend.main:app", "--host", "0.0.0.0", "--port", "8000"]