Assistant-Relay-Docker
Assistant-Relay-Docker copied to clipboard
Migrate to Alpine base images and use multistage
Further to #9 the primary purpose of this PR is to reduce the image size. These modifications reduce the uncompressed image from 991MB to 434MB. I must point-out that I'm not a Node expert and the method in which I carved-up the various modules seems to make sense but someone with greater Node expertise should definitely have a look.
Note that as a preference I tend to put apps in /opt
but realise that this will break existing docker-compose.yml files so I'm happy to modify this if necessary.
(Closes #9)