From d69b13fe10998098403800562bc38c9f4a1d6990 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=B5=B7?= <10402852@qq.com> Date: Sat, 7 Sep 2024 19:46:27 +0800 Subject: [PATCH] 'commit' --- ds-gw/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ds-gw/Dockerfile b/ds-gw/Dockerfile index 9d8576b7..1174fa3b 100644 --- a/ds-gw/Dockerfile +++ b/ds-gw/Dockerfile @@ -4,10 +4,10 @@ FROM openresty/openresty:1.21.4.1-0-alpine AS runner ENV TZ=Asia/Shanghai # 将本地的Nginx配置文件复制到镜像中的指定路径 -COPY ./nginx.conf /etc/nginx/nginx.conf +COPY ./nginx.conf /usr/local/openresty/nginx/conf/nginx.conf # 将本地的静态资源文件复制到镜像中的指定路径 -COPY /static /usr/share/nginx/html +COPY /static /usr/local/openresty/nginx/html # 暴露Nginx服务的端口 EXPOSE 80