向docker中自动添加/home/lolosia-web/application.yml
This commit is contained in:
parent
e88597d94a
commit
3314f37ab9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user