From 930c3c0424a335560e27f4a0874a370ae9199df0 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Mon, 25 Mar 2024 16:11:54 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 6 +++--- nginx.conf | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index b01dde0..063a445 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # 设置基础镜像 FROM win-nginx -WORKDIR /opt/eam-uniapp +WORKDIR /opt/eam-pda COPY nginx.conf /usr/local/nginx/conf/nginx.conf -# 将dist/build/h5/文件中的内容复制到 /opt/eam-uniapp 这个目录下面 -COPY dist/build/h5/ /opt/eam-uniapp +# 将dist/build/h5/文件中的内容复制到 /opt/eam-pda 这个目录下面 +COPY dist/build/h5/ /opt/eam-pda diff --git a/nginx.conf b/nginx.conf index 4c242aa..736b346 100644 --- a/nginx.conf +++ b/nginx.conf @@ -46,7 +46,7 @@ http { proxy_cache_valid 200 304 12h; proxy_cache_key $host$uri$is_args$args; try_files $uri $uri/ /index.html; - root /opt/eam-uniapp; + root /opt/eam-pda; index index.html index.htm; } }