docker-zerotier-planet/Dockerfile

11 lines
203 B
Docker

FROM ubuntu:20.04
ENV TZ=Asia/Shanghai \
DEBIAN_FRONTEND=noninteractive
ADD . /app
RUN cd /app && sh init.sh
WORKDIR /app/
CMD /bin/sh -c "zerotier-one -d; cd /opt/ztncui/src;npm start"