Rebased Dockerignore

Close #4165
Fixes #2224
dont ignore the `.git` dir i needs it