From 5939b0eb5215fbdbbd9ff802a91b167678aa1253 Mon Sep 17 00:00:00 2001 From: yovinchen Date: Thu, 9 May 2024 14:54:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3b2dd9e..5be44f2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,6 @@ COPY nginx.conf /etc/nginx/conf.d/default.conf # 将第一阶段的静态文件复制到nginx中 RUN rm -rf /usr/share/nginx/html RUN mkdir /usr/share/nginx/html -COPY ./dist/usr/share/nginx/html +COPY ./dist /usr/share/nginx/html CMD ["nginx", "-g", "daemon off;"]