houzhongjian
2024-11-22 49b510c77474fed0eff94e27f8d7a2d4e4cb7879
提交 | 用户 | 时间
d9f9ba 1 FROM eclipse-temurin:8-jre
4d4165 2 RUN mkdir -p /sda2/iailab/iailab-plat/nacos
H 3 WORKDIR /sda2/iailab/iailab-plat/nacos
e7c126 4 EXPOSE 8848
H 5 ENV TZ=Asia/Shanghai LANG=C.UTF-8 LC_ALL=C.UTF-8 JAVA_OPTS="-Xms512m -Xmx1024m"
d9f9ba 6 ## 将后端项目的 Jar 文件,复制到镜像中
H 7 COPY ./iailab-nacos.jar nacos-server.jar
e7c126 8
d9f9ba 9 CMD java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar iailab-nacos.jar