Update start.sh
Browse files
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 |
-
|
| 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
|