diff --git a/Dockerfile b/Dockerfile index de0f730d3..cee36735b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,9 @@ ENV NPM_CONFIG_PRODUCTION=true COPY package*.json ./ RUN npm install --production +RUN wget https://github.com/Yelp/dumb-init/releases/download/v1.2.2/dumb-init_1.2.2_amd64.deb +RUN dpkg -i dumb-init_*.deb + # Bundle app source COPY . . @@ -16,4 +19,4 @@ COPY . . RUN npm run build-production EXPOSE 8088 -CMD [ "node", "server.js" ] \ No newline at end of file +CMD [ "dumb-init", "node", "server.js" ] \ No newline at end of file