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"]