add yt-restreamer and build prod docker image
This commit is contained in:
		
							
								
								
									
										12
									
								
								.build/prod/yt-restream.Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								.build/prod/yt-restream.Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
FROM debian:latest
 | 
			
		||||
 | 
			
		||||
WORKDIR /root/
 | 
			
		||||
 | 
			
		||||
RUN apt update \
 | 
			
		||||
 && apt install -y python3-pip curl ffmpeg \
 | 
			
		||||
 && pip install yt-dlp --break-system-packages
 | 
			
		||||
 | 
			
		||||
COPY yt-restream.sh .
 | 
			
		||||
WORKDIR /var/www/html
 | 
			
		||||
 | 
			
		||||
CMD python3 -m http.server -d live/ & /root/yt-restream.sh
 | 
			
		||||
		Reference in New Issue
	
	Block a user