From 7db22e65932a518944821a75838a405c4d473cc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=A8=E5=93=80?= <2076029107@qq.com> Date: Wed, 31 Jul 2024 19:32:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 52d1979..65930dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,10 +9,10 @@ ENV TZ=Asia/Shanghai RUN ln -snf /usr/share/zoneinfo/$Tz /etc/localtime && echo '$TZ' > /etc/timezone #挂载工作目录 -VOLUME ["/home/logs/cloud-modules-file","/home/uploadPath"] +VOLUME ["/home/logs/cloud-file","/home/uploadPath"] #拷贝执行jar包 -COPY ./target/cloud-modules-file.jar /home/app.jar +COPY ./target/cloud-file.jar /home/app.jar #构建启动命令 ENTRYPOINT ["java","-jar"]