Skip to content

Commit 77706da

Browse files
authored
Merge pull request #29 from flownative/task/adjust-termination-handling
Adjust termination handling
2 parents d7f3a8a + 23aca51 commit 77706da

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ RUN /build.sh
3535

3636
EXPOSE 8080
3737

38+
# terminate with SIGQUIT which is handled gracefully by nginx
39+
# contrary to SIGTERM which terminates nginx immediately.
40+
STOPSIGNAL SIGQUIT
41+
3842
USER nginx
3943
ENTRYPOINT ["/entrypoint.sh"]
4044
CMD [ "run" ]

0 commit comments

Comments
 (0)