From 3f2cc36016f8740594b085640b247bba8021cd86 Mon Sep 17 00:00:00 2001 From: "DESKTOP-MARKXU\\xubia" Date: Wed, 10 Nov 2021 00:30:50 +0800 Subject: [PATCH] init --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ec11704..fa12f57 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM centos:7 -WORKDIR /opt +WORKDIR /var/lib/zerotier-one/ COPY . /var/lib/zerotier-one/ VOLUME ["/opt","/var/lib/zerotier-one"] EXPOSE 9993 @@ -35,7 +35,7 @@ RUN curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Ce sh build.sh &&\ mv world.bin /var/lib/zerotier-one/planet -CMD [ "bash","/var/lib/zerotier-one/run.sh" ] +CMD [ "bash","run.sh" ]