refactor: 修改dockerfile

This commit is contained in:
Captain.B 2021-06-30 18:32:58 +08:00 committed by 刘瑞斌
parent 4e81c24c95
commit d5750319f3

View File

@ -19,7 +19,7 @@ COPY --from=build ${DEPENDENCY}/BOOT-INF/classes /app
COPY backend/target/classes/jmeter/ /app/jmeter/
RUN mkdir -p /opt/jmeter/lib/junit
RUN cp -rf /app/jmeter/ /opt/jmeter/
RUN cp -rf /app/jmeter /opt/
ENV JAVA_CLASSPATH=/app:/app/lib/*
ENV JAVA_MAIN_CLASS=io.metersphere.Application