diff --git a/Dockerfile b/Dockerfile index 3cad7caa..5e1c62b2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,6 +38,7 @@ 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 \ @@ -45,6 +46,8 @@ RUN chmod +x /entrypoint.sh /gencert.sh \ WORKDIR /usr/vpnserver/ +VOLUME ["/usr/vpnserver/server_log/"] + ENTRYPOINT ["/entrypoint.sh"] EXPOSE 500/udp 4500/udp 1701/tcp 1194/udp 5555/tcp