diff --git a/ruoyi-admin/Dockerfile b/ruoyi-admin/Dockerfile index 1c1d50a0..09c0d6e4 100644 --- a/ruoyi-admin/Dockerfile +++ b/ruoyi-admin/Dockerfile @@ -10,7 +10,7 @@ COPY target/ruoyi-admin.jar baoxiao-project.jar ## 设置 TZ 时区 ## 设置 JAVA_OPTS 环境变量,可通过 docker run -e "JAVA_OPTS=" 进行覆盖 -ENV TZ=Asia/Shanghai JAVA_OPTS="-Xms512m -Xmx1024m" +ENV TZ=Asia/Shanghai JAVA_OPTS="-Xms128m -Xmx256m" ## 暴露后端项目的 48080 端口 EXPOSE 8080