FROM python:3.9-slim WORKDIR /app # Copy requirements first for better caching COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy the agent code and shared files COPY example_agent.py . COPY ../base_agent.py . COPY ../scripts/google_docs_manager.py ./scripts/ # Create necessary directories RUN mkdir -p data scripts EXPOSE 8001 CMD ["python", "example_agent.py"]