Assistant-Relay-Docker icon indicating copy to clipboard operation
Assistant-Relay-Docker copied to clipboard

Migrate to Alpine base images and use multistage

Open orbsmiv opened this issue 4 years ago • 0 comments

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)

orbsmiv avatar Feb 01 '21 23:02 orbsmiv