master
pan 4 years ago
parent 67dd89fdec
commit a4e1b29e83
  1. 5
      Dockerfile
  2. 2
      shell/initRisk

@ -18,7 +18,6 @@ WORKDIR /app/RiskCloudRun
#安装依赖
RUN yarn
WORKDIR /app
#运行自动部署服务端
ENTRYPOINT ["node","/app/RiskCloudRun/bin/www"]
#运行web服务端
#ENTRYPOINT ["initRisk"]
ENTRYPOINT ["initRisk"]

@ -1,5 +1,7 @@
#!/bin/sh
#运行自动部署服务端
node /app/RiskCloudRun/bin/www
#运行web服务端
updateRisk RiskCloudMock &
#ENTRYPOINT ["updateRisk","RiskCloudMock"]

Loading…
Cancel
Save