time to move to docker
This commit is contained in:
		
							parent
							
								
									85ee606788
								
							
						
					
					
						commit
						7cfac5b611
					
				
					 2 changed files with 16 additions and 0 deletions
				
			
		
							
								
								
									
										9
									
								
								Dockerfile
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								Dockerfile
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,9 @@
 | 
				
			||||||
 | 
					FROM python:alpine3.20
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					WORKDIR /pgbot
 | 
				
			||||||
 | 
					COPY . .
 | 
				
			||||||
 | 
					ENV PIP_ROOT_USER_ACTION=ignore
 | 
				
			||||||
 | 
					RUN pip install -r requirements.txt
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ENV TZ=Europe/Moscow
 | 
				
			||||||
 | 
					CMD /pgbot/pgbot
 | 
				
			||||||
							
								
								
									
										7
									
								
								requirements.txt
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								requirements.txt
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,7 @@
 | 
				
			||||||
 | 
					aiocron>=1.8
 | 
				
			||||||
 | 
					bs4>=0.0.2
 | 
				
			||||||
 | 
					fake_headers>=1
 | 
				
			||||||
 | 
					psycopg>=3.2
 | 
				
			||||||
 | 
					pyyaml>=6
 | 
				
			||||||
 | 
					requests>=2.32
 | 
				
			||||||
 | 
					telethon>=1.37
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue