openvpn-docker/Dockerfile
2021-07-05 11:11:53 +02:00

15 lines
341 B
Docker

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"]