Added dockefile
This commit is contained in:
		
							
								
								
									
										13
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
				
			|||||||
 | 
					FROM python:3.9-slim
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ENV PIP_NO_CACHE_DIR=true
 | 
				
			||||||
 | 
					ENV TZ Europe/Budapest
 | 
				
			||||||
 | 
					RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ADD birb_scheduler requirements.txt /birb_scheduler/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					WORKDIR /birb_scheduler/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					RUN pip3 install -r requirements.txt
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ENTRYPOINT ["python3", "main.py"]
 | 
				
			||||||
		Reference in New Issue
	
	Block a user