mirror of
https://github.com/Sthopeless/74757961.git
synced 2025-04-12 03:03:37 +02:00
Update Dockerfile
This commit is contained in:
parent
2a364c3f7d
commit
86fbddeed2
25
Dockerfile
25
Dockerfile
@ -1,8 +1,25 @@
|
|||||||
FROM alpine:3.14
|
FROM alpine:3.14
|
||||||
|
|
||||||
LABEL Maintainer="Sthope" \
|
LABEL Maintainer="Sthope" \
|
||||||
Description="Unlock Zigbee Tuya Doorlocks with API " \
|
Description="Unlock Zigbee Tuya Doorlocks with API" \
|
||||||
version="0.1"
|
version="0.1"
|
||||||
|
|
||||||
RUN apk --no-cache add mosquitto mosquitto-clients && \
|
RUN apk --no-cache add \
|
||||||
apk add python3-dev build-base py3-pip --update-cache && \
|
bash \
|
||||||
pip3 install tuya-iot-py-sdk paho-mqtt pycryptodome
|
mosquitto \
|
||||||
|
mosquitto-clients \
|
||||||
|
python3-dev \
|
||||||
|
build-base \
|
||||||
|
py3-pip \
|
||||||
|
patch
|
||||||
|
|
||||||
|
RUN pip3 install \
|
||||||
|
tuya-iot-py-sdk \
|
||||||
|
paho-mqtt \
|
||||||
|
pycryptodome
|
||||||
|
|
||||||
|
RUN mkdir -p /home/tuyactl
|
||||||
|
|
||||||
|
ADD tuyactl/ /home/tuyactl/
|
||||||
|
|
||||||
|
ENTRYPOINT ["tail", "-f", "/dev/null"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user