add index.js to node executable
This commit is contained in:
parent
5d7f02a1c8
commit
8afa43a0a2
|
@ -9,4 +9,4 @@ RUN yarn
|
|||
COPY src/* src/
|
||||
|
||||
EXPOSE 3100
|
||||
CMD node src
|
||||
CMD node src/index.js
|
||||
|
|
|
@ -15,4 +15,4 @@ ENV HSD_API_KEY="foo"
|
|||
|
||||
EXPOSE 3100
|
||||
ENV NODE_ENV production
|
||||
CMD [ "node src" ]
|
||||
CMD node src/index.js
|
||||
|
|
|
@ -30,5 +30,5 @@ CMD [ "sh", "-c", \
|
|||
"dnsmasq --no-resolv --log-facility=/var/log/dnsmasq.log --address=/siasky.net/$(node src/whatismyip.js) --server=127.0.0.11 ; \
|
||||
echo \"$(sed 's/127.0.0.11/127.0.0.1/' /etc/resolv.conf)\" > /etc/resolv.conf ; \
|
||||
crond ; \
|
||||
node src" \
|
||||
node src/index.js" \
|
||||
]
|
||||
|
|
Reference in New Issue