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