From 80ddc8999d500433ce19d0968e90a033982340eb Mon Sep 17 00:00:00 2001 From: yovinchen Date: Thu, 9 May 2024 14:46:47 +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 5be44f2..3b2dd9e 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;"]