delete all root process

This commit is contained in:
Wonderfall
2016-09-16 17:08:06 +02:00
parent c34874716a
commit 9cbccd93dc
69 changed files with 183 additions and 224 deletions

View File

@ -1,5 +1,5 @@
FROM wonderfall/node:stable
MAINTAINER Wonderfall <wonderfall@mondedie.fr>
FROM xataz/node:6
MAINTAINER Wonderfall <wonderfall@schrodinger.io>
ARG VERSION=0.10.1
@ -63,4 +63,4 @@ EXPOSE 2368
LABEL description="Ghost CMS ready for production" \
ghost="Ghost v$VERSION"
CMD ["/sbin/tini","--","run.sh"]
CMD ["run.sh"]

View File

@ -55,4 +55,4 @@ if [ "$SYNTAX_HIGHLIGHTING" == "True" ] && [ ! -f /ghost/content/themes/casper/a
fi
chown -R $UID:$GID /ghost && cd /ghost
su-exec $UID:$GID npm start --production
exec su-exec $UID:$GID tini -- npm start --production