mirror of
https://github.com/xubiaolin/docker-zerotier-planet.git
synced 2025-01-22 12:48:14 -05:00
13 lines
241 B
Docker
13 lines
241 B
Docker
FROM alpine:latest
|
|
|
|
ADD ./init.sh /app/
|
|
ADD ./gen_world.sh /app/
|
|
ADD ./patch /opt/patch/
|
|
|
|
VOLUME ["/var/lib/zerotier-one/"]
|
|
|
|
RUN cd /app && sh init.sh
|
|
|
|
WORKDIR /app/
|
|
CMD /bin/sh -c "zerotier-one -d; cd /opt/ztncui/src;npm start"
|