From 514e6f6b80c848826df3111eb278650299874bb0 Mon Sep 17 00:00:00 2001 From: Joooye_34 Date: Fri, 2 Feb 2024 09:11:31 +0000 Subject: [PATCH] fix: static resource not found in web server (#5787) --- .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 1a7045b5a..3c3a58fd9 100644 --- a/.github/deployment/front/Dockerfile +++ b/.github/deployment/front/Dockerfile @@ -1,6 +1,6 @@ FROM openresty/openresty:1.25.3.1-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