浏览代码

添加运行环境文件

yingp 7 年之前
父节点
当前提交
abc32e8fe4
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      frontend/saas-web/Dockerfile
  2. 0 0
      frontend/saas-web/runtime/nginx/default.conf

+ 2 - 2
frontend/saas-web/runtime/Dockerfile → frontend/saas-web/Dockerfile

@@ -1,5 +1,5 @@
 FROM hub.c.163.com/library/nginx
 MAINTAINER USOFTCHINA <yingp@usoftchina.com>
 RUN rm /etc/nginx/conf.d/default.conf
-ADD default.conf /etc/nginx/conf.d/
-COPY ../build/production/saas/ /usr/share/nginx/html/
+ADD runtime/nginx/default.conf /etc/nginx/conf.d/
+COPY build/production/saas/ /usr/share/nginx/html/

+ 0 - 0
frontend/saas-web/runtime/default.conf → frontend/saas-web/runtime/nginx/default.conf