From 87009bb930c6902a7f223eaef7c11659b9cfb481 Mon Sep 17 00:00:00 2001 From: Charlie Laabs Date: Sat, 1 Jan 2022 23:14:48 -0600 Subject: [PATCH] Add tini --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 0ce5f36..8ad2250 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,8 @@ FROM node:16-alpine3.14 as base WORKDIR /usr/app +RUN apk add --no-cache tini + ######## # BUILD ######## @@ -49,4 +51,5 @@ ARG COMMIT_SHA="" ENV NODE_ENV=production \ COMMIT_SHA=${COMMIT_SHA} +ENTRYPOINT ["/sbin/tini", "--"] CMD [ "node", "/usr/app/dist/index.js" ] \ No newline at end of file