To address a number of issues like VCS-937, #1 (closed) and the use of .dockerignore.
.dockerignore
A test has been added to coverf the case of a .dockerignore file.