Update start.sh
Browse files
start.sh
CHANGED
|
@@ -8,6 +8,13 @@ npm i --save-dev @types/uuid
|
|
| 8 |
npm i --save-dev @types/unidecode
|
| 9 |
npm ci --production
|
| 10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
cat /etc/resolv.conf
|
| 12 |
|
|
|
|
| 13 |
node index
|
|
|
|
| 8 |
npm i --save-dev @types/unidecode
|
| 9 |
npm ci --production
|
| 10 |
|
| 11 |
+
echo "nameserver 8.8.8.8" > /tmp/resolv.conf
|
| 12 |
+
|
| 13 |
+
echo "nameserver 1.1.1.1" >> /tmp/resolv.conf
|
| 14 |
+
|
| 15 |
+
sudo sh -c 'echo -e "nameserver 1.1.1.1\nnameserver 8.8.8.8" > /etc/resolv.conf'
|
| 16 |
+
|
| 17 |
cat /etc/resolv.conf
|
| 18 |
|
| 19 |
+
|
| 20 |
node index
|