mirror of
				https://github.com/Sthopeless/74757961.git
				synced 2025-11-04 14:26:54 +01:00 
			
		
		
		
	Update Dockerfile
This commit is contained in:
		
							
								
								
									
										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"]
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user