Copy one or more files or directories to a Docker image.

Copy(src, dest, addTrailingSlashes = TRUE)

Arguments

src

(character vector) list of files or directories to be copied

dest

(character string) destination directory on the Docker image (either absolute or relative to working directory)

addTrailingSlashes

(boolean) add trailing slashes to the given paths if the source is an existing directory

Value

the object