From 5d98ccdff1ec0f64297ad116bdcba001941f6572 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Thu, 14 Apr 2022 20:52:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=8D=E6=97=A6=E6=A0=B8=E5=8D=9A=E5=A3=AB?= =?UTF-8?q?=E8=AF=B4=EF=BC=8C=E5=BB=BA=E8=AE=AE=E4=BD=BF=E7=94=A8=20CMD=20?= =?UTF-8?q?=E6=9B=BF=E6=8D=A2=20ENTRYPOINT=EF=BC=8C=E6=96=B9=E4=BE=BF?= =?UTF-8?q?=E6=9B=BF=E6=8D=A2=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-server/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/yudao-server/Dockerfile b/yudao-server/Dockerfile index c1993e21f..234081ad0 100644 --- a/yudao-server/Dockerfile +++ b/yudao-server/Dockerfile @@ -16,5 +16,4 @@ ENV TZ=Asia/Shanghai JAVA_OPTS="-Xms512m -Xmx512m" EXPOSE 48080 ## 启动后端项目 -ENTRYPOINT java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar app.jar - +CMD java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar app.jar