This is coderabbit CLI docker image. It can be used to run coderabbit locally without pushing a PR
- Build the image
docker build --build-arg USER_UID=$(id -u) -t coderabbit .
- Authenticate on Coderabbit (execute just once)
mkdir -p $HOME/.coderabbit
docker run -it -v $HOME/.coderabbit/:/home/c:oderabbit/.coderabbit/ coderabbit auth login
- Use coderabbit, on a directory that is a git repository
Change the "base" arg below to your branch base (eg.: if it is main you can skip it)
docker run -it -v $HOME/.coderabbit/:/home/coderabbit/.coderabbit/ -v $(pwd):/workdir coderabbit review --plain --base master