argrento / huami-token

Script to obtain watch or band bluetooth token from Huami servers
MIT License
413 stars 94 forks source link

add Dockerfile #23

Closed bartmanus closed 3 years ago

bartmanus commented 3 years ago

Use latest slim python as base, create limited user, add code to wd, install deps and show help by default but override the command at runtime.

Build command:

docker build -t huami_token:`git describe` .

Run command:

docker run --rm -it huami_token:`git describe` -m xiaomi -b