Merge pull request #157 from testwill/Dockerfile

fix: docker build yudao-module-pay-biz image fail
pull/125/head
芋道源码 2024-06-04 21:10:54 +08:00 committed by GitHub
commit bbf7231bf6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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=" 进行覆盖