Update 'Dockerfile'
This commit is contained in:
		
							parent
							
								
									e972291993
								
							
						
					
					
						commit
						c9aa6be4e7
					
				@ -1,5 +1,8 @@
 | 
				
			|||||||
FROM python:3.8-slim-buster
 | 
					FROM python:3.8-slim-buster
 | 
				
			||||||
WORKDIR /bot
 | 
					WORKDIR /bot
 | 
				
			||||||
COPY requirements.txt .
 | 
					COPY requirements.txt .
 | 
				
			||||||
 | 
					COPY captcha.patch .
 | 
				
			||||||
 | 
					RUN apt update && apt install patch
 | 
				
			||||||
RUN pip3 install -r requirements.txt
 | 
					RUN pip3 install -r requirements.txt
 | 
				
			||||||
 | 
					RUN patch -p0 /usr/local/lib/python3.8/site-packages/gpapi/config.py < captcha.patch
 | 
				
			||||||
COPY src src
 | 
					COPY src src
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user