mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-20 14:13:08 +00:00
Make sure the .git folder is either removed or not included in the first place.
This commit is contained in:
parent
370f1bf7ce
commit
43df63b46b
1
.dockerignore
Normal file
1
.dockerignore
Normal file
@ -0,0 +1 @@
|
|||||||
|
.git
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user