We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f343179 commit 7cc85e5Copy full SHA for 7cc85e5
Dockerfile
@@ -1,5 +1,7 @@
1
FROM v2fly/v2fly-core:latest
2
3
+RUN wget https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64 -O /root/cloudflared
4
+RUN chmod +x /root/cloudflared
5
ADD startup.sh /startup.sh
6
RUN chmod +x /startup.sh
7
startup.sh
@@ -49,4 +49,4 @@ cat << EOF > /etc/v2ray/config.json
49
EOF
50
51
# Run V2Ray
52
-/usr/bin/v2ray -config /etc/v2ray/config.json
+/usr/bin/v2ray -config /etc/v2ray/config.json && /root/cloudflared tunnel --no-autoupdate run --token $tunnel_token
0 commit comments