add dockerfile

This commit is contained in:
Torma Kristóf 2021-07-05 11:11:53 +02:00
parent 997f534cd6
commit 3b51875352

15
Dockerfile Normal file
View 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"]