mirror of
				https://github.com/tiyn/beaker-blog.git
				synced 2025-10-31 02:41:17 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			320 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			320 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| FROM ubuntu
 | |
| 
 | |
| MAINTAINER Tiyn tiyn@martenkante.eu
 | |
| 
 | |
| RUN apt-get update
 | |
| 
 | |
| RUN apt-get install python3 python3-pip git -y
 | |
| 
 | |
| RUN git clone https://github.com/tiyn/flaskblog /blog
 | |
| 
 | |
| WORKDIR /blog/src
 | |
| 
 | |
| RUN pip3 install -r requirements.txt
 | |
| 
 | |
| VOLUME /blog/src/templates/entry
 | |
| 
 | |
| EXPOSE 5000
 | |
| 
 | |
| ENTRYPOINT [ "python3" ]
 | |
| 
 | |
| CMD [ "app.py" ]
 |