main
sh 18 lines 353 Bytes
Raw
1 #!/bin/bash
2
3 # Wait until run_tunnel.py exists
4 echo "Starting tunnel API..."
5
6 sleep 1
7 while [ ! -f /a0/run_tunnel.py ]; do
8 echo "Waiting for /a0/run_tunnel.py to be available..."
9 sleep 1
10 done
11
12 . "/ins/setup_venv.sh" "$@"
13
14 exec python /a0/run_tunnel.py \
15 --dockerized=true \
16 --port=80 \
17 --tunnel_api_port=55520 \
18 --host="0.0.0.0"