briis / hass-weatherflow2mqtt

WeatherFlow to MQTT for Home Assistant. Use UDP to get local weather data in to Home Assistant using MQTT Discovery
MIT License
129 stars 29 forks source link

Optimize the container image #225

Closed pcfens closed 1 year ago

pcfens commented 1 year ago

Optimizing the Dockerfile results in a smaller image with fewer layers, which results in faster pulls and less space consumed when running weatherflow2mqtt.

The size of the image reduces from ~380MB to ~156MB.