From 1f8a553fb08a570519fbb59b1fa3e291b0e3b871 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Tue, 22 Jun 2021 13:17:52 +0200 Subject: [PATCH] use cli --- packages/health-check/Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/health-check/Dockerfile b/packages/health-check/Dockerfile index 199514be..d018fd4a 100644 --- a/packages/health-check/Dockerfile +++ b/packages/health-check/Dockerfile @@ -24,9 +24,8 @@ ENV NODE_ENV production # 4. start crond in the background # 5. start the health-check api service CMD [ "sh", "-c", \ - "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 ; \ - dnsmasq --log-debug --no-resolv --log-queries --log-facility=/var/log/dnsmasq.log ; \ + "echo -e \"nameserver 127.0.0.1\n$(cat /etc/resolv.conf)\" > /etc/resolv.conf ; \ + dnsmasq --strict-order --log-debug --no-resolv --log-queries --log-facility=/var/log/dnsmasq.log --address=/siasky.net/$(node src/whatismyip.js) ; \ crond ; \ node --max-http-header-size=64000 src/index.js" \ ]