From 167e4c3ad0a606c5d06b410a8ebb8fcfda23c788 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Wed, 23 Jun 2021 17:59:22 +0200 Subject: [PATCH] try --- packages/health-check/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/health-check/Dockerfile b/packages/health-check/Dockerfile index 4a2d76d9..f48d7722 100644 --- a/packages/health-check/Dockerfile +++ b/packages/health-check/Dockerfile @@ -23,8 +23,8 @@ ENV NODE_ENV production # 3. start crond in the background # 4. start the health-check api service CMD [ "sh", "-c", \ - "dnsmasq --no-resolv --log-queries --log-facility=/var/log/dnsmasq.log --address=/siasky.net/$(node src/whatismyip.js) --server=127.0.0.11 ; \ - echo -e \"nameserver 127.0.0.1\noptions ndots:0\" > /etc/resolv.conf ; \ + "dnsmasq --no-resolv --log-facility=/var/log/dnsmasq.log --address=/siasky.net/$(node src/whatismyip.js) --server=127.0.0.11 ; \ + sed -i 's/127.0.0.11/127.0.0.1/g' /etc/resolv.conf ; \ crond ; \ node --max-http-header-size=64000 src/index.js" \ ]