add old version frpc.
All checks were successful
Deploy Docker Images / Docusaurus build and Server deploy (push) Successful in 31s

This commit is contained in:
amass 2024-10-17 23:35:16 +08:00
parent a8c18f8db4
commit 736ed5570c

View File

@ -20,9 +20,9 @@ RUN cd /root \
&& cd frp_${FRP_VERSION}_linux_amd64/ \
&& cp frpc /usr/bin/ \
&& mkdir -p /etc/frp \
&& cp frpc.toml /etc/frp \
&& cp frpc.ini /etc/frp \
&& cd /root \
&& rm frp_${FRP_VERSION}_linux_amd64.tar.gz \
&& rm -rf frp_${FRP_VERSION}_linux_amd64/
ENTRYPOINT if [ -d /app ]; then cd /app && openresty -p /app; fi; /usr/bin/frpc -c /etc/frp/frpc.toml
ENTRYPOINT if [ -d /app ]; then cd /app && openresty -p /app; fi; /usr/bin/frpc -c /etc/frp/frpc.ini