Initial commit
This commit is contained in:
		
							
								
								
									
										7
									
								
								api-frontend/Dockerfile~
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								api-frontend/Dockerfile~
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
FROM python:2.7
 | 
			
		||||
ADD api.py /
 | 
			
		||||
ENV API_BACKEND_URL=127.0.0.1
 | 
			
		||||
ENV API_BACKEND_PORT=8001
 | 
			
		||||
EXPOSE 8000
 | 
			
		||||
RUN pip install requests flask
 | 
			
		||||
CMD [ "python", "api.py"]
 | 
			
		||||
		Reference in New Issue
	
	Block a user