1
0
mirror of https://github.com/Sthopeless/74757961.git synced 2025-07-05 17:35:43 +02:00
This commit is contained in:
2021-07-21 22:33:27 +02:00
parent f8cc6beb1e
commit 44910447a8
4 changed files with 39 additions and 22 deletions

View File

@ -5,21 +5,20 @@ LABEL Maintainer="Sthope" \
version="0.1"
RUN apk --no-cache add \
bash \
nano \
mosquitto \
mosquitto-clients \
python3-dev \
build-base \
py3-pip \
patch
py3-pip
RUN pip3 install \
tuya-iot-py-sdk \
paho-mqtt \
pycryptodome
RUN mkdir -p /home/tuyactl
RUN mkdir -p /home/tuya_doorlock
ADD tuyactl/ /home/tuyactl/
ADD tuya_doorlock/ /home/tuya_doorlock/
ENTRYPOINT ["tail", "-f", "/dev/null"]