Skip to content

Commit e41f978

Browse files
committedSep 28, 2018
Add --init to run example
Wrap process with the light-weight Docker init system, to handle SIGTERM and reap process as expected. This is a recommended best practice for running Node apps in Docker.
1 parent 811c5d3 commit e41f978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# To use this with Docker:
22
# 1. `docker build -t iftttdelay .`
3-
# 2. `docker run -p 3002:3002 -d iftttdelay`
3+
# 2. `docker run -p 3002:3002 -d --init iftttdelay`
44
# The service will now be listening on http://localhost:3002
55

66
FROM node:10.11-alpine

0 commit comments

Comments
 (0)