mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-20 13:33:07 +00:00
18 lines
385 B
Docker
18 lines
385 B
Docker
FROM node:4.4
|
|
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/
|
|
ADD zerotier /
|
|
ADD zerotier-cli /
|
|
ADD .zerotierCliSettings /root/
|
|
|
|
# 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"] |