From 85b2001c0ec2f1adc598db3bf47ad457dcca7074 Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期四, 19 十二月 2024 16:37:53 +0800 Subject: [PATCH] item-chart 空point校验 --- iailab-cloud/iailab-nacos/Dockerfile | 20 ++++++-------------- 1 files changed, 6 insertions(+), 14 deletions(-) diff --git a/iailab-cloud/iailab-nacos/Dockerfile b/iailab-cloud/iailab-nacos/Dockerfile index 630b9bb..7d2017a 100644 --- a/iailab-cloud/iailab-nacos/Dockerfile +++ b/iailab-cloud/iailab-nacos/Dockerfile @@ -1,17 +1,9 @@ -#FROM findepi/graalvm:java17-native -FROM openjdk:17.0.2-oraclelinux8 - -MAINTAINER Lion Li - -RUN mkdir -p /ruoyi/nacos - -WORKDIR /ruoyi/nacos - +FROM eclipse-temurin:8-jre +RUN mkdir -p /sda2/iailab/iailab-plat/nacos +WORKDIR /sda2/iailab/iailab-plat/nacos EXPOSE 8848 - ENV TZ=Asia/Shanghai LANG=C.UTF-8 LC_ALL=C.UTF-8 JAVA_OPTS="-Xms512m -Xmx1024m" +## 将后端项目的 Jar 文件,复制到镜像中 +COPY ./iailab-nacos.jar nacos-server.jar -ADD ./target/ruoyi-nacos.jar ./app.jar - -ENTRYPOINT java -Djava.security.egd=file:/dev/./urandom ${JAVA_OPTS} -jar app.jar - +CMD java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar iailab-nacos.jar -- Gitblit v1.9.3