Add SIGINT as stopsignal to docker file (#54)

Add sigint as stopsignal to docker file. You can find more here: https://docs.docker.com/engine/reference/builder/#usage
With this change, the main process inside the container will receive SIGINT, and after a grace period, SIGKILL.
This commit is contained in:
Seua Polyakov 2019-06-06 22:36:21 +03:00 committed by Aliaksandr Valialkin
parent 667115a5c7
commit f4e63cd070

View file

@ -1 +1,2 @@
FROM golang:1.12.5
STOPSIGNAL SIGINT