Providing the dockerFile setting sets the path for the docker build command to be the directory of the Dockerfile
Docker provides
-f, --file string Name of the Dockerfile (Default is 'PATH/Dockerfile')
which permits the name of the file thus allowing the working directory from which docker build is launched to remain the same, this permits the use of relative paths outside of the directory where the Dockerfile is located.
Providing the
dockerFile
setting sets the path for the docker build command to be the directory of the DockerfileDocker provides
-f, --file string Name of the Dockerfile (Default is 'PATH/Dockerfile')
which permits the name of the file thus allowing the working directory from which docker build is launched to remain the same, this permits the use of relative paths outside of the directory where the Dockerfile is located.