Hi,
I’m trying to package a Python application, which depends on a Calibre command, ebook-convert
.
After creating a docker image, I realized that the image was twice the size of a plain Dockerfile build. The problem is that it’s linking all of the Calibre dependencies for speech-dispatcher
, doubling the whole package’s size. How can I use only a subset of commands (in this case, a single one) from this package and leave out the dependencies for the not-used ones from my image?