17 lines
		
	
	
		
			396 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			396 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM python:3.9-slim AS install
 | 
						|
 | 
						|
RUN apt update
 | 
						|
RUN apt install -y build-essential
 | 
						|
RUN pip install discord
 | 
						|
RUN pip install 'python-socketio>=4.0,<5.0' # heavynoode must be on an old version, because 5 doesn't work
 | 
						|
 | 
						|
 | 
						|
FROM python:3.9-slim
 | 
						|
 | 
						|
WORKDIR /minebot
 | 
						|
CMD ["python", "bot.py"]
 | 
						|
 | 
						|
COPY --from=install /usr/local/lib/python3.9/site-packages /usr/local/lib/python3.9/site-packages
 | 
						|
 | 
						|
COPY . /minebot
 |