From cb866ef4c0a6a7fa6f18e12d5f1a4241823fcd9f Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Sat, 10 Oct 2020 04:22:27 +0800 Subject: [PATCH] init --- Dockerfile | 4 ---- shell/initRisk | 6 ++++++ 2 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 shell/initRisk 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"]