JsBergbau / MiTemperature2

Read the values of the Xiaomi Mi Bluetooth Temperature sensor 2 including custom encrypted format.
705 stars 162 forks source link

use slim docker image #128

Closed antxxxx closed 2 years ago

antxxxx commented 2 years ago

This changes the Dockerfile to use a smaller version of python and to do the installs in one layer which results in a smaller image to download from a docker registry.

I have also added some instructions to allow you to run the docker image but have sensors.ini and mqtt.conf on the host machine rather than relying on the ones in the docker image

JsBergbau commented 2 years ago

Thanks for the update and optimization.