mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
docker: remove git-objects from final docker image
Removing git-objects, which are not needed, from final docker image, to make it smaller. Some files still need to be there, because Etherpad at startup uses them to discover its version number.
This commit is contained in:
parent
789dd7acd6
commit
5fa414636b
1 changed files with 19 additions and 0 deletions
|
@ -1,3 +1,22 @@
|
|||
.hg
|
||||
|
||||
# Remove the git objects, logs, etc. to make final image smaller.
|
||||
# Some files still need to be in the .git directory, because Etherpad at
|
||||
# startup uses them to discover its version number.
|
||||
.git/branches
|
||||
.git/COMMIT_EDITMSG
|
||||
.git/config
|
||||
.git/description
|
||||
.git/FETCH_HEAD
|
||||
.git/hooks
|
||||
.git/index
|
||||
.git/info
|
||||
.git/logs
|
||||
.git/objects
|
||||
.git/ORIG_HEAD
|
||||
.git/packed-refs
|
||||
.git/refs/remotes/
|
||||
.gitignore
|
||||
|
||||
settings.json
|
||||
src/node_modules
|
||||
|
|
Loading…
Reference in a new issue