Add to your container and call docker-app-init to run your app.  docker-app-init will stop your app when any signal is received from docker.