mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-07-01 14:45:38 +00:00
delete all root process
This commit is contained in:
@ -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"]
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user