Last active
July 4, 2019 01:27
-
-
Save rdelcorro/f1ddae46d25842b83bc8d5b0f97ecabd to your computer and use it in GitHub Desktop.
Dockerfile to embed tuyacontrol into a home assistant raspi image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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