redloro / smartthings

SmartThings home automation services, apps and devices
Apache License 2.0
116 stars 194 forks source link

Docker Alpine ARM and host networking. #19

Closed hairychris closed 4 years ago

hairychris commented 7 years ago

I needed these fixes to get Docker up and running properly here, nice side effect is the generated image should be much smaller. If we decide to avoid installing some dependencies via git (check package.json) we can remove that package too.

hairychris commented 7 years ago

Yeah image size is much smaller:

tcjennings/rpi-smartthings-nodeproxy  333MB
alpine/stnp                           80.8MB
hairychris commented 7 years ago

One thing to note is that I call npm install:dash inside the Dockerfile, really dependencies should be installed based on which plugins are active.