Skip to content

Commit eae0f94

Browse files
committed
integrating tini docker utility
1 parent 376ad39 commit eae0f94

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
FROM node:16-alpine
2+
RUN apk add --no-cache tini
23

34
RUN mkdir /restana-static
45
WORKDIR /restana-static
@@ -12,5 +13,6 @@ COPY dist ./dist
1213

1314
RUN npm install --production
1415

16+
ENTRYPOINT ["/sbin/tini", "--"]
1517
CMD ["node", "index.js"]
1618

0 commit comments

Comments
 (0)