From 4cabab9d3692b2184b83df3688854802ef457b1e Mon Sep 17 00:00:00 2001 From: akun <957746831@qq.com> Date: Fri, 10 May 2024 17:15:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9E=84=E5=BB=BA=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf-admin/Dockerfile | 2 +- sf-vertx/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sf-admin/Dockerfile b/sf-admin/Dockerfile index f8a1a6f..d1b04ac 100644 --- a/sf-admin/Dockerfile +++ b/sf-admin/Dockerfile @@ -1,6 +1,6 @@ FROM openjdk:8 # 复制jar文件到路径 -COPY target/sf-admin.jar /usr/local/sf-admin.jar +COPY sf-admin/target/sf-admin.jar /usr/local/sf-admin.jar RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone # 指定路径 WORKDIR /usr/local diff --git a/sf-vertx/Dockerfile b/sf-vertx/Dockerfile index eabda2e..802293b 100644 --- a/sf-vertx/Dockerfile +++ b/sf-vertx/Dockerfile @@ -1,6 +1,6 @@ FROM openjdk:17 # 复制jar文件到路径 -COPY target/sf-vertx.jar /usr/local/sf-vertx.jar +COPY sf-vertx/target/sf-vertx.jar /usr/local/sf-vertx.jar RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone # 指定路径 WORKDIR /usr/local