Run with Docker
Last updated
Was this helpful?
Last updated
Was this helpful?
The Packmind-cli in Docker version is a wrapper of the Packmind CLI , so you should refer to the doc to configure its execution.
Here is an example of how you can run the Docker image in Gitlab CI (assuming you've set the PACKMIND_API_KEY
in the CI/CD pipelines):
You can also execute the CLI with the docker run
command line.
Create a .env
file like the one below to inject the two environment variables:
And then, run the command, assuming you want to scan the src
directory.
As you can see, you'll need to use a volume with a host folder.