FROM python:3.9-slim # Install system dependencies RUN apt-get update && apt-get install -y \ curl \ gcc \ && rm -rf /var/lib/apt/lists/* WORKDIR /app # Copy requirements and install dependencies COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy application code COPY . . # Create necessary directories RUN mkdir -p data/langgraph data/logs data/cache data/model_cache data/temp # Expose port EXPOSE 8000 # Start agent CMD ["python", "documentation_agent_backup.py"]