mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-24 15:16:40 +00:00
19 lines
397 B
Docker
19 lines
397 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 *.conf /
|
|
ADD zerotier-one /
|
|
ADD zerotier-cli /
|
|
ADD .zerotierCliSettings /
|
|
|
|
# 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"] |