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:
16
Dockerfile
16
Dockerfile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user