(feat): Dockerfile init
This commit is contained in:
		
							parent
							
								
									e7cc32d258
								
							
						
					
					
						commit
						5e19f9a789
					
				
					 1 changed files with 14 additions and 0 deletions
				
			
		
							
								
								
									
										14
									
								
								Dockerfile
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								Dockerfile
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,14 @@ | |||
| FROM python:3.10-slim | ||||
| 
 | ||||
| WORKDIR /app | ||||
| COPY requirements.txt . | ||||
| 
 | ||||
| RUN pip install --no-cache-dir -r requirements.txt | ||||
| COPY . . | ||||
| 
 | ||||
| EXPOSE 5000 | ||||
| 
 | ||||
| ENV FLASK_APP=server.py | ||||
| ENV FLASK_RUN_HOST=0.0.0.0 | ||||
| 
 | ||||
| CMD ["flask", "run"] | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Blake Ridgway
						Blake Ridgway