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"]