Skip to content

Instantly share code, notes, and snippets.

@rdelcorro
Last active July 4, 2019 01:27
Show Gist options
  • Save rdelcorro/f1ddae46d25842b83bc8d5b0f97ecabd to your computer and use it in GitHub Desktop.
Save rdelcorro/f1ddae46d25842b83bc8d5b0f97ecabd to your computer and use it in GitHub Desktop.
Dockerfile to embed tuyacontrol into a home assistant raspi image
FROM homeassistant/raspberrypi3-homeassistant:latest
RUN apk update && apk add nodejs git npm
RUN mkdir /tuyacontrol
ADD tuyacontrol.js /tuyacontrol/
RUN cd /tuyacontrol && npm install codetheweb/tuyapi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment