WGBH-MLA / AAPB2

American Archive of Public Broadcasting
https://americanarchive.org/
Other
25 stars 9 forks source link

BUG: Development container does not stop when rails rails stops, but it would be nice if it did #2780

Open afred opened 1 month ago

afred commented 1 month ago

Background

The image starts Jetty, which runs in the background, and then keeps the container on, even if the Rails server (the CMD for the image) stops.

Done when

As a programmer When running the container in an interactive terminal window, e.g. -it option And when the Rails server stops The container also stops And does not continue to run because jetty is running So that it can easily be restarted without having to issue an extra docker stop command on the container.