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 RUN yarn
WORKDIR /app WORKDIR /app
#运行自动部署服务端
ENTRYPOINT ["node","/app/RiskCloudRun/bin/www"]
#运行web服务端 #运行web服务端
#ENTRYPOINT ["initRisk"] ENTRYPOINT ["initRisk"]

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

Loading…
Cancel
Save