2016-08-18 00:22:05 +00:00
|
|
|
FROM node:4.4
|
2016-08-18 00:29:14 +00:00
|
|
|
EXPOSE 8080/tcp 9993/udp
|
|
|
|
|
|
|
|
# Install ZT network conf files
|
|
|
|
RUN mkdir -p /var/lib/zerotier-one/networks.d
|
|
|
|
ADD *.conf /var/lib/zerotier-one/networks.d/
|
2016-08-18 22:32:26 +00:00
|
|
|
ADD *.conf /
|
2016-08-18 22:13:43 +00:00
|
|
|
ADD zerotier-one /
|
2016-08-18 00:29:14 +00:00
|
|
|
ADD zerotier-cli /
|
2016-08-18 01:33:49 +00:00
|
|
|
ADD .zerotierCliSettings /
|
2016-08-18 00:29:14 +00:00
|
|
|
|
|
|
|
# Install App
|
|
|
|
ADD server.js /
|
|
|
|
|
|
|
|
# script which will start/auth VM on ZT network
|
|
|
|
ADD entrypoint.sh /
|
|
|
|
RUN chmod -v +x /entrypoint.sh
|
|
|
|
|
|
|
|
CMD ["./entrypoint.sh"]
|