Skip to content

Commit

Permalink
Dockerfile: Set WORKDIR to /etc/openvpn
Browse files Browse the repository at this point in the history
* Set WORKDIR to simply admin when I run cmd `bash`
* Add comment on port
  • Loading branch information
kylemanna committed Jul 6, 2014
1 parent e933fbe commit 201bab6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 201bab6

Please sign in to comment.