updated docker_startup to fix git permission error

This commit is contained in:
JJ Kasper
2018-11-24 16:54:34 -06:00
parent f634ec7bba
commit 873734b1e0
2 changed files with 9 additions and 0 deletions

View File

@@ -22,8 +22,14 @@ if [ -d "/config" ];then
CONFDIR="/config"
fi
# create home directory with full access that git can access
mkdir -p /home/mykb
chmod 0777 -R /home/mykb
cd /opt/mykb
export NODE_ENV=production
export HOME=/home/mykb
if [ -z "$PUID" ];then
echo 'no PUID set running as default user'