I mount my project as volume, and i want to tell docker to ignore git and phpstorm files when building or any solution to let me commit files to git after.
I tried the .dockerignore file solution but i found git files in the running container :(
this is my dockerignore file code (placed in the root)
.git
any help please ?
See Question&Answers more detail:os