Hi,
this decreases the docker image size from 487MB to 27MB by removing a filesystem layer with the installed dependencies.
I guess could be even further improved by using a multi-stage build. I might look into that later on.
Best
The previous commits comes directly as Thomas added it to the tty-server
project, and this commits adapts them to this project. They are pretty
similar but not quite the same.