1
This commit is contained in:
Anfioo
2026-02-01 15:37:55 +08:00
parent 37fe58bd5d
commit adfd019d2d
1822 changed files with 1362 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
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
# 复制 jar 文件到镜像
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"]

Binary file not shown.