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