fix /etc/resolv.conf

This commit is contained in:
Karol Wypchlo 2021-06-23 21:29:26 +02:00
parent e56a986766
commit e69829be3e
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ ENV NODE_ENV production
# 3. start crond in the background # 3. start crond in the background
# 4. start the health-check api service # 4. start the health-check api service
CMD [ "sh", "-c", \ CMD [ "sh", "-c", \
"dnsmasq --strict-order --no-resolv --address=/siasky.net/$(node src/whatismyip.js) ; \ "dnsmasq --no-resolv --log-facility=/var/log/dnsmasq.log --address=/siasky.net/$(node src/whatismyip.js) --server=127.0.0.11 ; \
echo \"$(sed 's/127.0.0.11/127.0.0.1/' /etc/resolv.conf)\" > /etc/resolv.conf ; \ echo \"$(sed 's/127.0.0.11/127.0.0.1/' /etc/resolv.conf)\" > /etc/resolv.conf ; \
crond ; \ crond ; \
node --max-http-header-size=64000 src/index.js" \ node --max-http-header-size=64000 src/index.js" \