ci: dockerfile changed

This commit is contained in:
CaptainB 2023-05-31 14:50:49 +08:00
parent cc5fbdac44
commit c5b63b8167
2 changed files with 1 additions and 11 deletions

View File

@ -9,9 +9,6 @@ COPY ${DEPENDENCY}/BOOT-INF/lib /app/lib
COPY ${DEPENDENCY}/META-INF /app/META-INF COPY ${DEPENDENCY}/META-INF /app/META-INF
COPY ${DEPENDENCY}/BOOT-INF/classes /app COPY ${DEPENDENCY}/BOOT-INF/classes /app
# html 文件
COPY backend/src/main/resources/public /app/public
# 静态文件 # 静态文件
COPY backend/src/main/resources/static /app/static COPY backend/src/main/resources/static /app/static

View File

@ -132,14 +132,7 @@
<skip>${skipAntRunForJenkins}</skip> <skip>${skipAntRunForJenkins}</skip>
<target> <target>
<copy todir="src/main/resources/static"> <copy todir="src/main/resources/static">
<fileset dir="../../frontend/dist"> <fileset dir="../../frontend/dist"/>
<exclude name="*.html"/>
</fileset>
</copy>
<copy todir="src/main/resources/public">
<fileset dir="../../frontend/dist">
<include name="*.html"/>
</fileset>
</copy> </copy>
</target> </target>
</configuration> </configuration>