add dockerfile
This commit is contained in:
		
							
								
								
									
										15
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					FROM ubuntu:latest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					MAINTAINER KMLabz <tormakristof@tormakristof.eu>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					RUN apt-get update && \
 | 
				
			||||||
 | 
					    apt-get install -y openvpn iptables && \
 | 
				
			||||||
 | 
					    apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					COPY openvpn.conf /etc/openvpn/server/openvpn.conf
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					EXPOSE 1194/udp
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					VOLUME /data
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					CMD ["openvpn", "/etc/openvpn/server/openvpn.conf"]
 | 
				
			||||||
		Reference in New Issue
	
	Block a user