1
0
mirror of https://github.com/Sthopeless/74757961.git synced 2025-12-14 19:01:56 +01:00
Files
Tuya_Zigbee_DoorLocks/Dockerfile

27 lines
435 B
Docker
Raw Normal View History

2021-07-18 23:13:04 +02:00
FROM alpine:3.14
2021-07-21 22:02:53 +02:00
2021-07-18 23:13:04 +02:00
LABEL Maintainer="Sthope" \
2021-07-21 22:02:53 +02:00
Description="Unlock Zigbee Tuya Doorlocks with API" \
2021-07-18 23:13:04 +02:00
version="0.1"
2021-07-21 23:32:36 +02:00
RUN mkdir -p /home/tuya_doorlock
ADD tuya_doorlock/ /home/tuya_doorlock/
2021-07-21 22:02:53 +02:00
RUN apk --no-cache add \
2021-07-21 23:32:36 +02:00
bash \
2021-07-21 22:33:27 +02:00
nano \
2021-07-21 22:02:53 +02:00
mosquitto \
mosquitto-clients \
python3-dev \
build-base \
2021-07-21 22:33:27 +02:00
py3-pip
2021-07-21 22:02:53 +02:00
RUN pip3 install \
tuya-iot-py-sdk \
paho-mqtt \
pycryptodome
2021-07-21 23:32:36 +02:00
WORKDIR /home/tuya_doorlock
2021-07-21 22:02:53 +02:00
2021-07-21 23:32:36 +02:00
ENTRYPOINT ["/bin/bash"]