I am a docker maven plugin newbie.
If I understand well, according to Spotify's Dockerfile Maven documentation, one should place the Dockerfile on the root directory of my project (I'm running a spring boot project).
In making a reference to docker's Best practices for writing Dockerfiles:
Regardless of where the Dockerfile actually lives, all of the recursive contents of files and directories in the current directory are sent to the Docker daemon as the build context. Inadvertently including files that are not necessary for building the image results in a larger build context and larger image size.
Does that mean that when the Spotify Dockerfile Maven plugin runs the configuration I am exposing my source folder which is sent to docker daemon?