Add expanded workflow API endpoints and update CLAUDE.md

New endpoints: outcome, direction, claims, QA validation, learning loop,
document text retrieval. Updated Dockerfile and project documentation.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-04 08:04:28 +00:00
parent 081c7fb17a
commit 59bb471368
3 changed files with 351 additions and 42 deletions

View File

@@ -5,20 +5,26 @@ WORKDIR /app
# System deps for PyMuPDF and document processing
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc libmupdf-dev libfreetype6-dev libharfbuzz-dev libjpeg62-turbo-dev \
libopenjp2-7-dev curl && rm -rf /var/lib/apt/lists/*
libopenjp2-7-dev curl git && rm -rf /var/lib/apt/lists/*
# Copy MCP server source (for importing services)
# Copy Ezer Mishpati MCP server source
COPY mcp-server/pyproject.toml /app/mcp-server/pyproject.toml
COPY mcp-server/src/ /app/mcp-server/src/
# Install MCP server dependencies + web deps
RUN pip install --no-cache-dir /app/mcp-server && \
# Clone and install Din Leumi MCP server
ARG GITEA_TOKEN=""
RUN git clone https://Chaim:${GITEA_TOKEN}@gitea.nautilus.marcusgroup.org/Chaim/din-leumi.git /tmp/din-leumi && \
cp -r /tmp/din-leumi/mcp-server /app/din-leumi && \
rm -rf /tmp/din-leumi/.git
# Install both MCP servers + web deps
RUN pip install --no-cache-dir /app/mcp-server /app/din-leumi && \
pip install --no-cache-dir fastapi uvicorn python-multipart
# Copy web app
COPY web/ /app/web/
ENV PYTHONPATH=/app/mcp-server/src
ENV PYTHONPATH=/app/mcp-server/src:/app/din-leumi/src
ENV DOTENV_PATH=/home/chaim/.env
EXPOSE 8080