mirror of
				https://github.com/tiyn/beaker-blog.git
				synced 2025-10-30 18:31:17 +01:00 
			
		
		
		
	The Dockerfile needed a git dependency. Now i use the COPY command to get the same result.
		
			
				
	
	
		
			24 lines
		
	
	
		
			299 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			299 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| FROM ubuntu:16.04
 | |
| 
 | |
| MAINTAINER Tiyn tiyn@martenkante.eu
 | |
| 
 | |
| RUN apt-get update
 | |
| 
 | |
| RUN apt-get upgrade -y
 | |
| 
 | |
| RUN apt-get install python3 python3-pip -y
 | |
| 
 | |
| COPY src /blog
 | |
| 
 | |
| WORKDIR /blog
 | |
| 
 | |
| RUN pip3 install -r requirements.txt
 | |
| 
 | |
| VOLUME /blog/templates/entry
 | |
| 
 | |
| EXPOSE 5000
 | |
| 
 | |
| ENTRYPOINT [ "python3" ]
 | |
| 
 | |
| CMD [ "app.py" ]
 |