Graceful stopping is critical in Chainquery

This commit is contained in:
Leopere 2019-04-28 17:24:56 -04:00 committed by Leopere
parent eb5427469f
commit 409586c45e

View file

@ -20,4 +20,5 @@ RUN adduser chainquery --gecos GECOS --shell /bin/bash --disabled-password --hom
COPY --from=prep /chainquery /start /usr/bin/ COPY --from=prep /chainquery /start /usr/bin/
EXPOSE 6300 EXPOSE 6300
USER chainquery USER chainquery
STOPSIGNAL SIGINT
CMD ["start"] CMD ["start"]