From 201bab6f3de1d835c54d4cd46d769d8ef40cd555 Mon Sep 17 00:00:00 2001 From: Kyle Manna Date: Sun, 6 Jul 2014 10:55:17 -0700 Subject: [PATCH] Dockerfile: Set WORKDIR to /etc/openvpn * Set WORKDIR to simply admin when I run cmd `bash` * Add comment on port --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index e5d172ae..bb946777 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,8 +20,10 @@ ENV EASYRSA_VARS_FILE $OPENVPN/vars VOLUME ["/etc/openvpn"] +# Internally uses port 1194, remap using docker EXPOSE 1194/udp +WORKDIR /etc/openvpn CMD ["ovpn_run"] ADD ./bin /usr/local/bin