2016-08-17 17:22:05 -07:00
|
|
|
FROM node:4.4
|
2016-08-17 17:29:14 -07: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 15:32:26 -07:00
|
|
|
ADD *.conf /
|
2016-08-18 15:13:43 -07:00
|
|
|
ADD zerotier-one /
|
2016-08-17 17:29:14 -07:00
|
|
|
ADD zerotier-cli /
|
2016-08-17 18:33:49 -07:00
|
|
|
ADD .zerotierCliSettings /
|
2016-08-17 17:29:14 -07: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"]
|