16 lines
		
	
	
		
			642 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			642 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| # syntax=docker/dockerfile:1
 | |
| FROM python:3.10
 | |
| WORKDIR /v6
 | |
| ENV v6root=/v6data
 | |
| RUN apt-get update
 | |
| RUN apt-get install -y libopus0 opus-tools ffmpeg
 | |
| COPY requirements.txt requirements.txt
 | |
| RUN pip install -r requirements.txt
 | |
| RUN apt-get install -y tor obfs4proxy
 | |
| COPY v6d3music v6d3music
 | |
| RUN printf "\nClientTransportPlugin obfs4 exec /usr/bin/obfs4proxy\nBridge obfs4 185.177.207.210:11210 044DEFCA9726828CAE0F880DFEDB6D957006087A cert=mLCpY31wGw9Vs1tQdCXGIyZaAQ6RCdWvw50klpDAk/4mZvA+wekmLZQRqatcbuMp2y36TQ iat-mode=1\nUseBridges 1\n" >> "/etc/tor/torrc"
 | |
| ENV v6host=0.0.0.0
 | |
| EXPOSE 5930
 | |
| ENV v6port=5930
 | |
| CMD ["python3", "-m", "v6d3music.run-bot"]
 |