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 23:32:36 +02:00
parent 9ad5a1a147
commit 1ca840c58a
2 changed files with 8 additions and 5 deletions

View File

@ -4,7 +4,12 @@ LABEL Maintainer="Sthope" \
Description="Unlock Zigbee Tuya Doorlocks with API" \
version="0.1"
RUN mkdir -p /home/tuya_doorlock
ADD tuya_doorlock/ /home/tuya_doorlock/
RUN apk --no-cache add \
bash \
nano \
mosquitto \
mosquitto-clients \
@ -17,8 +22,6 @@ RUN pip3 install \
paho-mqtt \
pycryptodome
RUN mkdir -p /home/tuya_doorlock
WORKDIR /home/tuya_doorlock
ADD tuya_doorlock/ /home/tuya_doorlock/
ENTRYPOINT ["tail", "-f", "/dev/null"]
ENTRYPOINT ["/bin/bash"]