Twan07 commited on
Commit
f350cec
·
verified ·
1 Parent(s): deaa60f

Update start.sh

Browse files
Files changed (1) hide show
  1. start.sh +1 -2
start.sh CHANGED
@@ -8,8 +8,7 @@ npm i --save-dev @types/uuid
8
  npm i --save-dev @types/unidecode
9
  npm ci --production
10
 
11
- export RES_OPTIONS="nameserver 1.1.1.1"
12
- export RES_OPTIONS="nameserver 8.8.8.8"
13
  cat /etc/resolv.conf
14
  chmod +x ./dns
15
  ./dns -b /tmp/custom_resolv.conf:/etc/resolv.conf /bin/bash
 
8
  npm i --save-dev @types/unidecode
9
  npm ci --production
10
 
11
+ sudo sh -c 'echo -e "nameserver 1.1.1.1\nnameserver 8.8.8.8" > /etc/resolv.conf'
 
12
  cat /etc/resolv.conf
13
  chmod +x ./dns
14
  ./dns -b /tmp/custom_resolv.conf:/etc/resolv.conf /bin/bash