From 889e4deb7862a9224d1b6cd9f085e1c92a6d7de4 Mon Sep 17 00:00:00 2001 From: Anfioo <3485977506@qq.com> Date: Sun, 1 Feb 2026 15:39:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B1=9F=E9=97=A8=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/MicroCommunityMall/Dockerfile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/resources/MicroCommunityMall/Dockerfile b/resources/MicroCommunityMall/Dockerfile index 957670b..baecc87 100644 --- a/resources/MicroCommunityMall/Dockerfile +++ b/resources/MicroCommunityMall/Dockerfile @@ -1,12 +1,5 @@ FROM openjdk:8-jdk -# 添加环境变量 -ENV TZ=Asia/Phnom_Penh - -# 保留原有的时区配置 -RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone - - # 创建 jar 目录 RUN mkdir -p /jar @@ -15,4 +8,4 @@ COPY MicroCommunityMall.jar /jar/MicroCommunityMall.jar EXPOSE 8015 -ENTRYPOINT ["java", "-Dfile.encoding=UTF-8", "-Duser.timezone=Asia/Phnom_Penh", "-XX:+UseG1GC", "-XX:+UnlockExperimentalVMOptions", "-XX:+UseContainerSupport", "-XX:MaxRAMPercentage=20.0", "-jar", "/jar/MicroCommunityMall.jar"] +ENTRYPOINT ["java", "-Dfile.encoding=UTF-8", "-XX:+UseG1GC", "-XX:+UnlockExperimentalVMOptions", "-XX:+UseContainerSupport", "-XX:MaxRAMPercentage=20.0", "-jar", "/jar/MicroCommunityMall.jar"]