Set working dir in ovpn_run instead of Dockerfile

This commit is contained in:
Dave Burke 2016-05-28 21:39:47 -05:00
parent caffc0b715
commit 097376db75
2 changed files with 2 additions and 1 deletions

View File

@ -22,7 +22,6 @@ VOLUME ["/etc/openvpn"]
# Internally uses port 1194/udp, remap using `docker run -p 443:1194/tcp`
EXPOSE 1194/udp
WORKDIR /etc/openvpn
CMD ["ovpn_run"]
ADD ./bin /usr/local/bin

View File

@ -10,6 +10,8 @@ fi
set -e
cd $OPENVPN
# Build runtime arguments array based on environment
ARGS=("--config" "$OPENVPN/openvpn.conf")