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