mirror of https://github.com/lumapu/ahoy.git
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							18 lines
						
					
					
						
							447 B
						
					
					
				
			
		
		
		
			
			
			
		
		
	
	
							18 lines
						
					
					
						
							447 B
						
					
					
				
								############################
							 | 
						|
								# build executable binary
							 | 
						|
								############################
							 | 
						|
								
							 | 
						|
								FROM python:slim-bookworm
							 | 
						|
								
							 | 
						|
								COPY . /hoymiles
							 | 
						|
								WORKDIR /hoymiles
							 | 
						|
								
							 | 
						|
								# RUN apt-get update  \
							 | 
						|
								#  && groupadd spi
							 | 
						|
								
							 | 
						|
								RUN python3 -m pip install pyrf24 influxdb_client && \
							 | 
						|
								python3 -m pip list #watch for RF24 module - if its there its installed
							 | 
						|
								
							 | 
						|
								RUN pip install crcmod pyyaml paho-mqtt SunTimes
							 | 
						|
								
							 | 
						|
								CMD python3 -um hoymiles --log-transactions --verbose --config /etc/ahoy.yml
							 | 
						|
								
							 |