修改docker配置

This commit is contained in:
ranke
2026-01-15 15:54:18 +08:00
parent a44e7e835e
commit 8a7c74bfb5
4 changed files with 4 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ FROM 172.16.46.66:10043/base-service/eclipse-temurin:21-jre
RUN mkdir -p /zt-module-system-server-app
WORKDIR /zt-module-system-server-app
## 将后端项目的 Jar 文件,复制到镜像中
COPY ../zt-module-system-server/target/zt-module-system-server-app.jar app.jar
COPY ./target/zt-module-system-server-app.jar app.jar
## 设置 TZ 时区
## 设置 JAVA_OPTS 环境变量,可通过 docker run -e "JAVA_OPTS=" 进行覆盖