Create a dockerignore file

docker_ignore_add(path)

Arguments

path

Where to write the file

Value

The path to the `.dockerignore` file, invisibly.

Examples

if (interactive()) {
  docker_ignore_add()
}