Make sure the .git folder is either removed or not included in the first place.

This commit is contained in:
Pagan Gazzard 2014-08-07 21:28:15 +01:00 committed by Pablo Carranza Vélez
parent 370f1bf7ce
commit 43df63b46b
2 changed files with 3 additions and 0 deletions

1
.dockerignore Normal file
View File

@ -0,0 +1 @@
.git

View File

@ -9,4 +9,6 @@ if [ $NODE_ENV == 'production' ]; then
rm -rf /root/.ssh/* deploy_key rm -rf /root/.ssh/* deploy_key
# Remove unnecessary source files # Remove unnecessary source files
rm -rf Makefile src/*.coffee rm -rf Makefile src/*.coffee
# Remove the git repo info
rm -rf .git
fi fi