Wire specialist waves, Brain consolidation, and Classic-compatible reports so Agent mode can run end-to-end via OpenRouter without changing the default Classic path. Co-authored-by: Cursor <cursoragent@cursor.com>
28 lines
803 B
Docker
28 lines
803 B
Docker
FROM python:3.12-slim-bookworm
|
|
|
|
LABEL org.opencontainers.image.title="Conflict Checker" \
|
|
org.opencontainers.image.description="Classic and experimental scoped Agent pipelines"
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends poppler-utils \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY backend backend
|
|
COPY frontend frontend
|
|
COPY cli cli
|
|
|
|
RUN mkdir -p backend/uploads backend/outputs backend/.llm_cache
|
|
|
|
ENV PYTHONUNBUFFERED=1
|
|
EXPOSE 8099
|
|
|
|
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
|
|
CMD python -c "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8099/health')"
|
|
|
|
CMD ["uvicorn", "backend.main:app", "--host", "0.0.0.0", "--port", "8099"]
|