no-resolv

This commit is contained in:
Karol Wypchlo 2021-06-20 18:11:14 +02:00
parent 37aba89478
commit d78001a992
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ ENV NODE_ENV production
CMD [ "sh", "-c", \ CMD [ "sh", "-c", \
"echo address=/siasky.net/$(node src/whatismyip.js) > /etc/dnsmasq.d/siasky.net.conf ; \ "echo address=/siasky.net/$(node src/whatismyip.js) > /etc/dnsmasq.d/siasky.net.conf ; \
echo -e \"nameserver 127.0.0.1\n$(cat /etc/resolv.conf)\" > /etc/resolv.conf ; \ echo -e \"nameserver 127.0.0.1\n$(cat /etc/resolv.conf)\" > /etc/resolv.conf ; \
dnsmasq --log-queries --log-facility=/var/log/dnsmasq.log ; \ dnsmasq --no-resolv --log-queries --log-facility=/var/log/dnsmasq.log ; \
crond ; \ crond ; \
node --max-http-header-size=64000 src/index.js" \ node --max-http-header-size=64000 src/index.js" \
] ]