fix: docker build yudao-module-pay-biz image fail

Signed-off-by: guoguangwu <guoguangwug@gmail.com>
This commit is contained in:
guoguangwu 2024-05-30 16:27:45 +08:00
parent 4ca583cbe8
commit f9be4f7448

View File

@ -7,7 +7,7 @@ FROM eclipse-temurin:8-jre
RUN mkdir -p /yudao-module-pay-biz-1.8.0-snapshot
WORKDIR /yudao-module-pay-biz-1.8.0-snapshot
## 将后端项目的 Jar 文件,复制到镜像中
COPY ./target/yudao-module-pay-biz-1.8.0-snapshot.jar app.jar
COPY ./target/yudao-module-pay-biz.jar app.jar
## 设置 TZ 时区
## 设置 JAVA_OPTS 环境变量,可通过 docker run -e "JAVA_OPTS=" 进行覆盖