update ghost dockerfile

This commit is contained in:
Wonderfall
2017-02-20 15:30:47 +01:00
parent 2d65a8c5d0
commit 58764d7722
6 changed files with 798 additions and 75 deletions

View File

@ -54,5 +54,7 @@ if [ "$SYNTAX_HIGHLIGHTING" == "True" ] && [ ! -f /ghost/content/themes/casper/a
/ghost/content/themes/casper/default.hbs
fi
chown -R $UID:$GID /ghost && cd /ghost
cd /ghost
mv core fix && mv fix core && mv node_modules fix && mv fix node_modules # fix strange bug
chown -R $UID:$GID /ghost
exec su-exec $UID:$GID /sbin/tini -- npm start --production