From 48cd8999bd87949b6f9bc37cd8fb43e4e4832fd2 Mon Sep 17 00:00:00 2001 From: Joooye_34 Date: Tue, 30 Jan 2024 17:21:05 +0800 Subject: [PATCH] fix: static resource not found in web server (#5745) --- .github/deployment/front/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/deployment/front/Dockerfile b/.github/deployment/front/Dockerfile index 33a2670347..2aa4d6913d 100644 --- a/.github/deployment/front/Dockerfile +++ b/.github/deployment/front/Dockerfile @@ -1,6 +1,6 @@ FROM openresty/openresty:1.21.4.3-0-buster WORKDIR /app -COPY ./packages/frontend/core/dist/index.html ./dist/index.html +COPY ./packages/frontend/core/dist ./dist COPY ./.github/deployment/front/nginx.conf /usr/local/openresty/nginx/conf/nginx.conf COPY ./.github/deployment/front/affine.nginx.conf /etc/nginx/conf.d/affine.nginx.conf