add dockerfile
This commit is contained in:
parent
997f534cd6
commit
3b51875352
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"]
|
Loading…
Reference in New Issue
Block a user