向docker中自动添加/home/lolosia-web/application.yml

This commit is contained in:
洛洛希雅Lolosia 2024-04-26 01:05:52 +08:00
parent e88597d94a
commit 3314f37ab9

View File

@ -8,6 +8,7 @@ LABEL org.opencontainers.image.authors="Lolosia"
WORKDIR /app/ WORKDIR /app/
#复制fat.jar到镜像内app目录下 #复制fat.jar到镜像内app目录下
ADD /home/lolosia-web/application.yml /app/
ADD ./build/libs/*-fat.jar /app/ ADD ./build/libs/*-fat.jar /app/
RUN mv *-fat.jar app.jar RUN mv *-fat.jar app.jar