Files
werkrevisor/Dockerfile
mhoennigandClaude Opus 5.5 e86c88f588 werkrevisor 0.4.0: operator config from the environment, no code or data from HOME
WERKREVISOR_CONFIG_TOML carries the operator TOML in the host's machine config,
so the operator can switch model and limits without a new image;
it wins over the config file, and the usage line names the source.
werkdock on mih09 binds a home that PR builds can write, so werkrevisor
starts with python -s and PYTHONNOUSERSITE=1, refuses user site-packages and
sys.path entries under HOME, drops the working directory from sys.path,
and points HOME, XDG and litellm to private or offline settings before PR-Agent loads.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 07:21:54 +02:00

10 lines
329 B
Docker

FROM pragent/pr-agent:0.47.0@sha256:7d98954c29289846a08faf00aaea0f1f1375b1676cd8a2ed303e0af07010af7a
COPY werkrevisor /werkrevisor/werkrevisor
COPY config /werkrevisor/config
ENV PYTHONPATH=/werkrevisor:/app \
PYTHONDONTWRITEBYTECODE=1 \
PYTHONNOUSERSITE=1
WORKDIR /work
ENTRYPOINT ["python", "-s", "-m", "werkrevisor"]