diff --git a/packages/health-check/Dockerfile b/packages/health-check/Dockerfile index b7830484..7560057e 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", \ - "echo -e \"nameserver 127.0.0.1\noptions ndots:0\" > /etc/resolv.conf ; \ - dnsmasq --server=127.0.0.11 --address=/siasky.net/$(node src/whatismyip.js) ; \ + "echo -e \"nameserver 127.0.0.1\n$(cat /etc/resolv.conf)\" > /etc/resolv.conf ; \ + dnsmasq --strict-order --address=/siasky.net/$(node src/whatismyip.js) ; \ crond ; \ node --max-http-header-size=64000 src/index.js" \ ]