Skip to content

Commit b813598

Browse files
authored
Merge pull request #13 from BackendStack21/integrating-tini
Integrating tini
2 parents 376ad39 + a4fe591 commit b813598

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "restana-static",
3-
"version": "2.1.0",
3+
"version": "2.1.1",
44
"description": "Efficiently serve static files using Node.js and Docker containers.",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)