This repository contains the Dockerfile for the NiCad clone detector.
To build the image, run:
docker build -t nicad .
To run NiCad, use the following command:
docker run --rm -v /path/to/your/code:/code -v /path/to/output:/nicad-data nicad [granularity] [language] /code
This will run NiCad on the code in /path/to/your/code
with the specified granularity and language. The results will be saved in /path/to/output
.
You can also use docker run --rm nicad
to see the usage information.