master
pan 4 years ago
parent ea8a9bcb87
commit 57824cea48
  1. 11
      Dockerfile

@ -18,9 +18,10 @@ WORKDIR /app/RiskCloudRun
#安装依赖 #安装依赖
RUN yarn RUN yarn
WORKDIR /app WORKDIR /app
#运行服务端 #运行自动部署服务端
RUN updateRisk RiskCloudMock ENTRYPOINT ["node","/app/RiskCloudRun/bin/www"]
#运行客户端 #运行web服务端
RUN updateRisk RiskCloudFontend ENTRYPOINT ["updateRisk","RiskCloudMock"]
CMD ["node","/app/RiskCloudRun/bin/www"] #运行web客户端
ENTRYPOINT ["updateRisk","RiskCloudFontend"]

Loading…
Cancel
Save