From 36705f70261c8f78af8d91420031ff7a37c76996 Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Sat, 10 Oct 2020 04:30:54 +0800 Subject: [PATCH] init --- Dockerfile | 2 +- shell/initRisk | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c0dceff..173505e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,4 +21,4 @@ WORKDIR /app #运行自动部署服务端 CMD ["node","/app/RiskCloudRun/bin/www"] #运行web服务端 -ENTRYPOINT ["updateRisk","RiskCloudMock"] \ No newline at end of file +CMD ["initRisk"] \ No newline at end of file diff --git a/shell/initRisk b/shell/initRisk index dea30e1..4b7eb7c 100644 --- a/shell/initRisk +++ b/shell/initRisk @@ -1,6 +1,8 @@ #!/bin/sh #运行web服务端 +updateRisk RiskCloudMock & #ENTRYPOINT ["updateRisk","RiskCloudMock"] #运行web客户端 +updateRisk RiskCloudFontend & #ENTRYPOINT ["updateRisk","RiskCloudFontend"]