Spaces:
Paused
Paused
Update Dockerfile
Browse files61 unmodified lines6263646566676861 unmodified linesecho "AWG_ENDPOINT is not set, use random WARP endpoint:"endpoints=("162.159.192.1:4500" "162.159.192.1:928" "162.159.192.1:878" "162.159.192.1:4233" "162.159.195.2:4198" "162.159.195.4:943" "162.159.195.5:934" "162.159.195.6:7103" "162.159.195.7:7152" "162.159.195.7:890")random_endpoint=$((RANDOM % ${#endpoints[@]}))echo random_endpointsed -i "s|^Endpoint *=.*|Endpoint = ${random_endpoint}|" /app/awg.conffi61 unmodified lines6263646566676861 unmodified linesecho "AWG_ENDPOINT is not set, use random WARP endpoint:"endpoints=("162.159.192.1:4500" "162.159.192.1:928" "162.159.192.1:878" "162.159.192.1:4233" "162.159.195.2:4198" "162.159.195.4:943" "162.159.195.5:934" "162.159.195.6:7103" "162.159.195.7:7152" "162.159.195.7:890")random_endpoint=$((RANDOM % ${#endpoints[@]}))echo ${random_endpoint}sed -i "s|^Endpoint *=.*|Endpoint = ${random_endpoint}|" /app/awg.conffi
Dockerfile+1-1