[Docker file] Fix wrong version string in docker images (#2497)

do not fully ignore git directory when building docker images
".git/HEAD" and ".git/refs/heads/*" are required by "getVersion()" in "lib/Configuration.php" to build the version string
This commit is contained in:
User123698745 2022-03-14 01:48:40 +01:00 committed by GitHub
parent 18504f2356
commit a7e70926f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,6 @@
.git
!.git/HEAD
!.git/refs/heads/*
.gitattributes
.github/*
.travis.yml