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