This change introduces a builder stage and a runner stage in the Dockerfile to bring down the final image size from about 1 GB to 280 MB.
Thanks for already separating build and run dependencies so well, that made it pretty straightforward.
I tested this Dockerfile on a RPi3B+ 32bit (armv7) and on a RPi4B 64bit (aarch64) (without libspotify on the latter).
This change introduces a builder stage and a runner stage in the Dockerfile to bring down the final image size from about 1 GB to 280 MB. Thanks for already separating build and run dependencies so well, that made it pretty straightforward.
I tested this Dockerfile on a RPi3B+ 32bit (armv7) and on a RPi4B 64bit (aarch64) (without
libspotify
on the latter).Please feel free to discuss.