build: 前后端分开打包,使用dockerfile统一copy
This commit is contained in:
parent
924c0ef4aa
commit
87940f3527
|
@ -9,9 +9,9 @@ COPY ${DEPENDENCY}/BOOT-INF/lib /opt/lib
|
||||||
COPY ${DEPENDENCY}/META-INF /opt/META-INF
|
COPY ${DEPENDENCY}/META-INF /opt/META-INF
|
||||||
COPY ${DEPENDENCY}/BOOT-INF/classes /opt
|
COPY ${DEPENDENCY}/BOOT-INF/classes /opt
|
||||||
|
|
||||||
ADD frontend/src/assets/theme/index.css /opt/classes/static/css
|
ADD frontend/src/assets/theme/index.css /opt/classes/static/css/index.css
|
||||||
ADD frontend/dist/*[^.html] /opt/classes/static
|
ADD frontend/dist/*[^.html] /opt/classes/static/
|
||||||
ADD frontend/dist/*.html /opt/classes/public
|
ADD frontend/dist/*.html /opt/classes/public/
|
||||||
|
|
||||||
ENV JAVA_CLASSPATH=/opt:/opt/lib/ms-jmeter-core.jar:/opt/lib/*
|
ENV JAVA_CLASSPATH=/opt:/opt/lib/ms-jmeter-core.jar:/opt/lib/*
|
||||||
ENV JAVA_MAIN_CLASS=io.metersphere.Application
|
ENV JAVA_MAIN_CLASS=io.metersphere.Application
|
||||||
|
|
Loading…
Reference in New Issue