mirror of
				https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
				synced 2025-11-03 23:23:53 +01:00 
			
		
		
		
	Update Dockerfile
test (wasn't really working )
This commit is contained in:
		
							
								
								
									
										21
									
								
								Dockerfile
									
									
									
									
									
								
							
							
						
						
									
										21
									
								
								Dockerfile
									
									
									
									
									
								
							@@ -11,19 +11,12 @@ RUN set -x \
 | 
				
			|||||||
   && apt install -y \
 | 
					   && apt install -y \
 | 
				
			||||||
       wfrench \
 | 
					       wfrench \
 | 
				
			||||||
       git \
 | 
					       git \
 | 
				
			||||||
   && pip install  \
 | 
					 | 
				
			||||||
       requests \
 | 
					 | 
				
			||||||
       selenium \
 | 
					 | 
				
			||||||
       argparse \
 | 
					 | 
				
			||||||
       discord \
 | 
					 | 
				
			||||||
       configparser \
 | 
					 | 
				
			||||||
       asyncio \
 | 
					 | 
				
			||||||
       enquiries \
 | 
					 | 
				
			||||||
       mysql-connector \
 | 
					 | 
				
			||||||
   && git clone https://github.com/piair338/MsReward
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Add latest FireFox
 | 
					   && git clone https://github.com/piair338/MsRewards \
 | 
				
			||||||
RUN set -x \
 | 
					   && pip install -r MsRewards/requirements.txt \
 | 
				
			||||||
 | 
					   
 | 
				
			||||||
 | 
					# Add working FireFox
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   && apt install -y \
 | 
					   && apt install -y \
 | 
				
			||||||
       libx11-xcb1 \
 | 
					       libx11-xcb1 \
 | 
				
			||||||
       libdbus-glib-1-2 \
 | 
					       libdbus-glib-1-2 \
 | 
				
			||||||
@@ -31,10 +24,10 @@ RUN set -x \
 | 
				
			|||||||
   && tar -jxf firefox-* \
 | 
					   && tar -jxf firefox-* \
 | 
				
			||||||
   && mv firefox /opt/ \
 | 
					   && mv firefox /opt/ \
 | 
				
			||||||
   && chmod 755 /opt/firefox \
 | 
					   && chmod 755 /opt/firefox \
 | 
				
			||||||
   && chmod 755 /opt/firefox/firefox
 | 
					   && chmod 755 /opt/firefox/firefox \
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
# Add geckodriver
 | 
					# Add geckodriver
 | 
				
			||||||
RUN set -x \
 | 
					
 | 
				
			||||||
   && curl -sSLO https://github.com/mozilla/geckodriver/releases/download/${GECKODRIVER_VER}/geckodriver-${GECKODRIVER_VER}-linux64.tar.gz \
 | 
					   && curl -sSLO https://github.com/mozilla/geckodriver/releases/download/${GECKODRIVER_VER}/geckodriver-${GECKODRIVER_VER}-linux64.tar.gz \
 | 
				
			||||||
   && tar zxf geckodriver-*.tar.gz \
 | 
					   && tar zxf geckodriver-*.tar.gz \
 | 
				
			||||||
   && mv geckodriver /usr/bin/
 | 
					   && mv geckodriver /usr/bin/
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user