From 57824cea48eb9008390044a3432a273e579c55a1 Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Sat, 10 Oct 2020 03:51:21 +0800 Subject: [PATCH] init --- Dockerfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index e1ad2ed..965d18c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,9 +18,10 @@ WORKDIR /app/RiskCloudRun #安装依赖 RUN yarn WORKDIR /app -#运行服务端 -RUN updateRisk RiskCloudMock -#运行客户端 -RUN updateRisk RiskCloudFontend -CMD ["node","/app/RiskCloudRun/bin/www"] +#运行自动部署服务端 +ENTRYPOINT ["node","/app/RiskCloudRun/bin/www"] +#运行web服务端 +ENTRYPOINT ["updateRisk","RiskCloudMock"] +#运行web客户端 +ENTRYPOINT ["updateRisk","RiskCloudFontend"]