24 lines
		
	
	
		
			503 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
		
		
			
		
	
	
			24 lines
		
	
	
		
			503 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| 
								 | 
							
								FROM ubuntu:24.04
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								ENV QBITTORRENT_VERSION=5.0.3
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								RUN echo "deb https://ppa.launchpadcontent.net/qbittorrent-team/qbittorrent-stable/ubuntu noble main" >> /etc/apt/sources.list.d/ubuntu.sources && \
							 | 
						||
| 
								 | 
							
								    apt update && \
							 | 
						||
| 
								 | 
							
								    apt install -y \
							 | 
						||
| 
								 | 
							
								        qbittorrent-nox
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								RUN mkdir -p /config /media && \
							 | 
						||
| 
								 | 
							
								    chmod 775 /config /media && \
							 | 
						||
| 
								 | 
							
								    chown ubuntu:ubuntu /config /media
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								USER ubuntu
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								VOLUME /config
							 | 
						||
| 
								 | 
							
								VOLUME /media
							 | 
						||
| 
								 | 
							
								WORKDIR /config
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								ENTRYPOINT [ "/usr/bin/qbittorrent-nox" ]
							 | 
						||
| 
								 | 
							
								CMD [ "--profile=/config" ]
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 |