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}/BOOT-INF/classes /app
# html 文件
COPY backend/src/main/resources/public /app/public
# 静态文件
COPY backend/src/main/resources/static /app/static

View File

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