FROM python:3.13-slim AS builder COPY --from=ghcr.io/astral-sh/uv:0.11.7 /uv /uvx /bin/ RUN uv pip install --system --break-system-packages "arr-mcp[mcp]==1.0.1" FROM python:3.13-slim COPY --from=builder /usr/local /usr/local RUN groupadd --system --gid 10001 mcp \ && useradd --system --uid 10001 --gid 10001 --no-create-home mcp USER 10001:10001 EXPOSE 8000 ENTRYPOINT ["arr-mcp"] CMD ["--transport", "streamable-http", "--host", "0.0.0.0", "--port", "8000", "--auth-type", "none"]