Explorar el Código

添加运行环境文件

yingp hace 7 años
padre
commit
abc32e8fe4
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  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