From 409586c45e3479924dd09c13b17cf001aa9fd8d4 Mon Sep 17 00:00:00 2001 From: Leopere Date: Sun, 28 Apr 2019 17:24:56 -0400 Subject: [PATCH] Graceful stopping is critical in Chainquery --- chainquery/Dockerfile-linux-x86_64-production | 1 + 1 file changed, 1 insertion(+) diff --git a/chainquery/Dockerfile-linux-x86_64-production b/chainquery/Dockerfile-linux-x86_64-production index 209ae25..c280476 100644 --- a/chainquery/Dockerfile-linux-x86_64-production +++ b/chainquery/Dockerfile-linux-x86_64-production @@ -20,4 +20,5 @@ RUN adduser chainquery --gecos GECOS --shell /bin/bash --disabled-password --hom COPY --from=prep /chainquery /start /usr/bin/ EXPOSE 6300 USER chainquery +STOPSIGNAL SIGINT CMD ["start"]