FROM python:3.12-slim WORKDIR /app # Install system dependencies for audio processing RUN apt-get update && apt-get install -y \ libsndfile1 \ && rm -rf /var/lib/apt/lists/* # Copy requirements first for better caching COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy agent code COPY agent.py . COPY .env.local . # Run the agent CMD ["python", "agent.py", "start"]