try
This commit is contained in:
parent
663d8bbcf1
commit
167e4c3ad0
|
@ -23,8 +23,8 @@ ENV NODE_ENV production
|
||||||
# 3. start crond in the background
|
# 3. start crond in the background
|
||||||
# 4. start the health-check api service
|
# 4. start the health-check api service
|
||||||
CMD [ "sh", "-c", \
|
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 ; \
|
"dnsmasq --no-resolv --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 ; \
|
sed -i 's/127.0.0.11/127.0.0.1/g' /etc/resolv.conf ; \
|
||||||
crond ; \
|
crond ; \
|
||||||
node --max-http-header-size=64000 src/index.js" \
|
node --max-http-header-size=64000 src/index.js" \
|
||||||
]
|
]
|
||||||
|
|
Reference in New Issue