Dockerfile: Set WORKDIR to /etc/openvpn
* Set WORKDIR to simply admin when I run cmd `bash` * Add comment on port
This commit is contained in:
parent
e933fbe923
commit
201bab6f3d
@ -20,8 +20,10 @@ ENV EASYRSA_VARS_FILE $OPENVPN/vars
|
|||||||
|
|
||||||
VOLUME ["/etc/openvpn"]
|
VOLUME ["/etc/openvpn"]
|
||||||
|
|
||||||
|
# Internally uses port 1194, remap using docker
|
||||||
EXPOSE 1194/udp
|
EXPOSE 1194/udp
|
||||||
|
|
||||||
|
WORKDIR /etc/openvpn
|
||||||
CMD ["ovpn_run"]
|
CMD ["ovpn_run"]
|
||||||
|
|
||||||
ADD ./bin /usr/local/bin
|
ADD ./bin /usr/local/bin
|
||||||
|
Loading…
Reference in New Issue
Block a user