From a4e1b29e83cd0517a830e5a16fc620c31959b938 Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Sat, 10 Oct 2020 04:36:29 +0800 Subject: [PATCH] init --- Dockerfile | 5 ++--- shell/initRisk | 2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c005e4d..c7db518 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,6 @@ WORKDIR /app/RiskCloudRun #安装依赖 RUN yarn WORKDIR /app -#运行自动部署服务端 -ENTRYPOINT ["node","/app/RiskCloudRun/bin/www"] + #运行web服务端 -#ENTRYPOINT ["initRisk"] \ No newline at end of file +ENTRYPOINT ["initRisk"] \ No newline at end of file diff --git a/shell/initRisk b/shell/initRisk index 4b7eb7c..5ba0971 100644 --- a/shell/initRisk +++ b/shell/initRisk @@ -1,5 +1,7 @@ #!/bin/sh +#运行自动部署服务端 +node /app/RiskCloudRun/bin/www #运行web服务端 updateRisk RiskCloudMock & #ENTRYPOINT ["updateRisk","RiskCloudMock"]