.gitignore should have uninteresting files listed, so acts as a good .dockerignore. Reduces the build context sent to the docker daemon from to 2.927GB (after building locally) to 66.66MB (:O).