Reduced footprint of the image to less than a quarter from before. Compatibility with Opus and Numpy still maintained as it is Debian based
		
			
				
	
	
		
			7 lines
		
	
	
		
			251 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			251 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM python:slim
 | 
						|
COPY . /usr/src/app
 | 
						|
WORKDIR /usr/src/app
 | 
						|
RUN apt-get update -y && apt-get upgrade -y && apt-get install libopus0 -y && \
 | 
						|
	pip install --upgrade pip && pip install -r requirements.txt && \
 | 
						|
	apt-get autoremove -y
 | 
						|
CMD python3 -u ./bot.py |