|
|
|
@ -7,16 +7,17 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
|
|
|
|
# Install ingestion worker deps first (agents depend on ingestion modules)
|
|
|
|
# Install ingestion worker deps first (agents depend on ingestion modules)
|
|
|
|
COPY ../ingestion-worker/requirements.txt /tmp/ingestion-requirements.txt
|
|
|
|
# When built from project root: docker build -f services/agents/Dockerfile .
|
|
|
|
|
|
|
|
COPY services/ingestion-worker/requirements.txt /tmp/ingestion-requirements.txt
|
|
|
|
RUN pip install --no-cache-dir -r /tmp/ingestion-requirements.txt
|
|
|
|
RUN pip install --no-cache-dir -r /tmp/ingestion-requirements.txt
|
|
|
|
|
|
|
|
|
|
|
|
COPY requirements.txt .
|
|
|
|
COPY services/agents/requirements.txt .
|
|
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
|
|
|
|
|
|
|
|
# Copy ingestion worker source (agents reuse parser, chunker, embedder, indexer, pipeline)
|
|
|
|
# Copy ingestion worker source (agents reuse parser, chunker, embedder, indexer, pipeline)
|
|
|
|
COPY ../ingestion-worker /app/ingestion-worker
|
|
|
|
COPY services/ingestion-worker /app/ingestion-worker
|
|
|
|
|
|
|
|
|
|
|
|
COPY . .
|
|
|
|
COPY services/agents/ .
|
|
|
|
|
|
|
|
|
|
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
ENV PYTHONPATH=/app:/app/ingestion-worker
|
|
|
|
ENV PYTHONPATH=/app:/app/ingestion-worker
|
|
|
|
|