diff --git a/Dockerfile b/Dockerfile index bf2d67a..88467b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,10 +18,6 @@ WORKDIR /app/RiskCloudRun #安装依赖 RUN yarn WORKDIR /app -#运行web服务端 -ENTRYPOINT ["updateRisk","RiskCloudMock"] -#运行web客户端 -ENTRYPOINT ["updateRisk","RiskCloudFontend"] #运行自动部署服务端 CMD ["node","/app/RiskCloudRun/bin/www"] diff --git a/shell/initRisk b/shell/initRisk new file mode 100644 index 0000000..dea30e1 --- /dev/null +++ b/shell/initRisk @@ -0,0 +1,6 @@ +#!/bin/sh + +#运行web服务端 +#ENTRYPOINT ["updateRisk","RiskCloudMock"] +#运行web客户端 +#ENTRYPOINT ["updateRisk","RiskCloudFontend"]