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