This commit is contained in:
Karol Wypchlo 2021-06-22 13:17:52 +02:00
parent c12d18bcf6
commit 1f8a553fb0
1 changed files with 2 additions and 3 deletions

View File

@ -24,9 +24,8 @@ ENV NODE_ENV production
# 4. start crond in the background # 4. start crond in the background
# 5. start the health-check api service # 5. start the health-check api service
CMD [ "sh", "-c", \ 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 ; \
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) ; \
dnsmasq --log-debug --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" \
] ]