From 6782432f5cb0dc05e88adea22f3932e02bec0f6a Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Thu, 1 Jul 2021 12:47:52 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BF=AE=E6=94=B9dockerfile,=20?= =?UTF-8?q?=E9=81=BF=E5=85=8D=E5=A4=8D=E5=88=B6=E9=87=8D=E5=A4=8D=E7=9A=84?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 +--- backend/pom.xml | 10 ---------- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/Dockerfile b/Dockerfile index da501096fa..010d1af8d3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,10 +16,8 @@ COPY --from=build ${DEPENDENCY}/BOOT-INF/lib /app/lib COPY --from=build ${DEPENDENCY}/META-INF /app/META-INF COPY --from=build ${DEPENDENCY}/BOOT-INF/classes /app -COPY backend/target/classes/jmeter/ /app/jmeter/ - +RUN mv /app/jmeter /opt/ RUN mkdir -p /opt/jmeter/lib/junit -RUN cp -rf /app/jmeter /opt/ ENV JAVA_CLASSPATH=/app:/app/lib/* ENV JAVA_MAIN_CLASS=io.metersphere.Application diff --git a/backend/pom.xml b/backend/pom.xml index 6e446148bb..7753a246d9 100644 --- a/backend/pom.xml +++ b/backend/pom.xml @@ -513,16 +513,6 @@ 2.6 - - org.apache.maven.plugins - maven-jar-plugin - - - **/jmeter/lib/**/*.jar - - - - org.apache.maven.plugins maven-antrun-plugin