From 5070a1fe8d2f376a2a03bc741326d5da249a732b Mon Sep 17 00:00:00 2001 From: hotcoffie <35990065+hotcoffie@users.noreply.github.com> Date: Fri, 15 Oct 2021 14:36:44 +0800 Subject: [PATCH] Update DOCKERFILE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 删除重复的npm打包语句 --- DOCKERFILE | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/DOCKERFILE b/DOCKERFILE index e8b5ecf5..28913dab 100644 --- a/DOCKERFILE +++ b/DOCKERFILE @@ -42,11 +42,6 @@ RUN npm install && \ cp /home/wvp-GB28181/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 -RUN npm install && \ - npm run build && \ - mkdir -p /opt/wvp/config && \ - cp /home/wvp-GB28181/src/main/resources/application-dev.yml /opt/wvp/config/application.yml - # wvp打包 WORKDIR /home/wvp-GB28181 RUN mvn compile && \ @@ -129,4 +124,4 @@ RUN apt-get update && \ WORKDIR /opt/wvp COPY --from=build /opt /opt -CMD ["sh", "run.sh"] \ No newline at end of file +CMD ["sh", "run.sh"]