From fe7ddbb5c351d973b83cd6350bd2837a000d3d4a Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: Fri, 19 Nov 2021 18:08:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DDOCKERFILE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DOCKERFILE | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/DOCKERFILE b/DOCKERFILE index 083c5da6..d35db9a0 100644 --- a/DOCKERFILE +++ b/DOCKERFILE @@ -35,20 +35,20 @@ RUN git clone https://gitee.com/pan648540858/maven.git && \ git clone https://gitee.com/pan648540858/wvp-GB28181-pro.git && \ git clone https://gitee.com/pan648540858/wvp-pro-assist.git # 编译前端界面 -WORKDIR /home/wvp-GB28181/web_src +WORKDIR /home/wvp-GB28181-pro/web_src RUN npm install && \ npm run build && \ mkdir -p /opt/wvp/config && \ mkdir -p /opt/assist/config && \ - cp /home/wvp-GB28181/src/main/resources/application-dev.yml /opt/wvp/config/application.yml && \ + cp /home/wvp-GB28181-pro/src/main/resources/application-dev.yml /opt/wvp/config/application.yml && \ cp /home/wvp-pro-assist/src/main/resources/application-dev.yml /opt/assist/config/application.yml # wvp打包 -WORKDIR /home/wvp-GB28181 +WORKDIR /home/wvp-GB28181-pro RUN mvn compile && \ mvn package && \ - cp /home/wvp-GB28181/target/wvp*.jar /opt/wvp/ + cp /home/wvp-GB28181-pro/target/wvp*.jar /opt/wvp/ # wvp 录像管理打包 WORKDIR /home/wvp-pro-assist @@ -72,7 +72,7 @@ RUN mkdir -p /opt/media && \ # 清理 RUN rm -rf /home/wiki && \ - rm -rf /home/wvp-GB28181 && \ + rm -rf /home/wvp-GB28181-pro && \ apt-get autoremove -y git maven nodejs npm && \ apt-get clean -y && \ rm -rf /var/lib/apt/lists/*dic