Skip to content

Commit

Permalink
Merge pull request #40 from maltalex/master
Browse files Browse the repository at this point in the history
Expose logging directory via a volume
  • Loading branch information
siomiz authored Feb 27, 2018
2 parents 0d75623 + 44e6021 commit 319cd96
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,16 @@ RUN wget https://github.com/SoftEtherVPN/SoftEtherVPN_Stable/archive/v${BUILD_VE
&& apt-get -y autoremove && rm -rf /var/lib/apt/lists/*

COPY copyables /

RUN chmod +x /entrypoint.sh /gencert.sh \
&& rm -rf /opt && ln -s /usr/vpnserver /opt \
&& find /usr/bin/vpn* -type f ! -name vpnserver \
-exec bash -c 'ln -s {} /opt/$(basename {})' \;

WORKDIR /usr/vpnserver/

VOLUME ["/usr/vpnserver/server_log/"]

ENTRYPOINT ["/entrypoint.sh"]

EXPOSE 500/udp 4500/udp 1701/tcp 1194/udp 5555/tcp
Expand Down

0 comments on commit 319cd96

Please sign in to comment.