Skip to content

Commit dc2982e

Browse files
committed
Avoids npm wrapping of entrypoint, to reduce the risk of not passing signals
1 parent 4aadf37 commit dc2982e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ FROM yolean/node@sha256:230b269710a1d09b9ebbdeeea0fc4e69ac1388ab71b0178452e81706
22
COPY . /app
33
WORKDIR /app
44
RUN npm install
5-
CMD npm start
5+
6+
ENTRYPOINT ["node"]
7+
CMD ["./index.js"]

0 commit comments

Comments
 (0)