Merge branch 'develop' of https://gitee.com/myems/myems into develop

pull/77/MERGE
13621160019@163.com 2021-11-03 22:50:03 +08:00
commit e6a9d59f8a
2 changed files with 2 additions and 2 deletions

2
admin/Dockerfile vendored
View File

@ -9,4 +9,4 @@ RUN rm /etc/nginx/conf.d/default.conf && \
COPY nginx.conf /etc/nginx/
COPY . /var/www/html/admin
EXPOSE 8001
CMD ["nginx", "-c /etc/nginx/nginx.conf", "-g 'daemon off;'"]
CMD ["nginx", "-c", "/etc/nginx/nginx.conf", "-g", "daemon off;"]

2
web/Dockerfile vendored
View File

@ -9,4 +9,4 @@ RUN rm /etc/nginx/conf.d/default.conf && \
COPY nginx.conf /etc/nginx/
COPY ./build/ /var/www/html/web
EXPOSE 80
CMD ["nginx", "-c /etc/nginx/nginx.conf", "-g 'daemon off;'"]
CMD ["nginx", "-c", "/etc/nginx/nginx.conf", "-g", "daemon off;"]