I have dockerized my Symfony build tools and so I try to run assetic:watch
:
docker run -ti build-tool:latest ./bin/console assetic:watch
This works fine until I want to exit. Ctrl-C does nothing for me and I need to use docker stop <containerid>
to make it stop.
Is there a way of getting the container to recognize Ctrl-C as a way of killing the currently running command?