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