From 2671cd7f8eb6168ffab0b6bc50f09df72963edc4 Mon Sep 17 00:00:00 2001 From: guangyuzhang <13621160019@163.com> Date: Tue, 2 Nov 2021 16:50:54 +0800 Subject: [PATCH] updated dockerfiles --- admin/Dockerfile | 2 +- web/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/Dockerfile b/admin/Dockerfile index bf449d65..3ae1a605 100644 --- a/admin/Dockerfile +++ b/admin/Dockerfile @@ -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;'"] \ No newline at end of file +CMD ["nginx", "-c", "/etc/nginx/nginx.conf", "-g", "daemon off;"] \ No newline at end of file diff --git a/web/Dockerfile b/web/Dockerfile index 0a5fdb37..05208cb9 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -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;'"] \ No newline at end of file +CMD ["nginx", "-c", "/etc/nginx/nginx.conf", "-g", "daemon off;"] \ No newline at end of file