Open ytausch opened 2 months ago
How much space is the .git folder? My guess is that there are bigger things to do than that?
Yes, probably. I just wanted to point out the git folder because it came to my attention as something that should clearly not be in the image. The git folder also contains a git token provided by GitHub which, I confirmed, has no security relevance for us.
Should be easy to add to .dockerignore
Our Docker image currently contains a
.git
folder, which is not needed in the image. Probably there are even more things towards a minimal image, which will also be faster to build.