FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim RUN apt-get update && \ apt-get install -y --no-install-recommends ca-certificates git && \ rm -rf /var/lib/apt/lists/* WORKDIR /app # Python deps — only what the agent needs (harbor excluded via .dockerignore) COPY pyproject.toml ./ RUN uv pip install --system . # Agent code COPY agent.py ./ RUN ln -sf $(which python3) /usr/local/bin/python RUN mkdir -p /logs /app/output