My app has a lot of "cleanup" functions but when I stop the container they didnt run. I believe the app is not receiving SIGTERM signal when I run "docker stop"
@zodern can you take a look at this post https://stackoverflow.com/questions/34441975/sigterm-does-not-reach-node-script-when-docker-runs-it-with-bin-sh-c/34446294
My app has a lot of "cleanup" functions but when I stop the container they didnt run. I believe the app is not receiving SIGTERM signal when I run "docker stop"
@zodern can you take a look at this post https://stackoverflow.com/questions/34441975/sigterm-does-not-reach-node-script-when-docker-runs-it-with-bin-sh-c/34446294