From 7d59cbdc28f75c178504cce47865d94f115f394d Mon Sep 17 00:00:00 2001 From: Jeff Vandrew Jr Date: Fri, 15 Feb 2019 22:43:57 -0500 Subject: [PATCH] tini --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e8d73a68..fc0e37d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,7 @@ FROM node:10-alpine +RUN apk add --no-cache tini + WORKDIR /RTL COPY . /RTL @@ -9,5 +11,6 @@ RUN npm install EXPOSE 3000 -#Run the app server -ENTRYPOINT ["node", "rtl"] +ENTRYPOINT ["/sbin/tini", "-g", "--"] + +CMD ["node", "rtl"]