docker-languagetool
                                
                                
                                
                                    docker-languagetool copied to clipboard
                            
                            
                            
                        Container is not receiving Ctrl-C signals
First of all, thank you for providing this Dockerfile. The app in the container is working well, however, it is not receiving signals (in particular, Ctrl-C is ignored), so it is not possible to shutdown the container. As a workaround, it is necessary to run docker stop <name> , which is not so convenient.
I was wondering if it is possible to change the way in which languagetool is launched so that the server can be shutdown gracefully after pressing Ctrl-C. I tried well-known approaches (e.g. adding --init to the docker run command or building the image using Tini), however, docker build . throws warnings for Illegal reflective access.
Just in case it is relevant, I'm following the most straightforward instructions on Ubuntu 22.04.1:
docker pull erikvl87/languagetool
docker run --rm -p 8010:8010 erikvl87/languagetool
Thanks