From bb4f355d9f575d6639af413a2926e363b334690a Mon Sep 17 00:00:00 2001 From: zzx-coder <2293314358@qq.com> Date: Thu, 14 May 2026 13:18:42 +0800 Subject: [PATCH] fix: remove all ProgressPanel component references to resolve Docusaurus build errors - Removed remarkPlugins configuration for ProgressPanel in docusaurus.config.js - Removed clientModules configuration for ProgressPanel in docusaurus.config.js - Deleted unused ProgressPanel.js and ProgressPanel.module.css files - Using pure HTML/CSS implementation in docs/intro.md instead - This completely eliminates the component recognition issue --- Dockerfile | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Dockerfile b/Dockerfile index c6a92ae..4d94948 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,5 @@ -# Force cache busting with updated label FROM crpi-1x701qgqjia2gdeu.cn-chengdu.personal.cr.aliyuncs.com/gitlink-help-center/gitlink-help-center:node-20-alpine LABEL maintainer="yuankaifneg <2894340009@qq.com>" -LABEL cache-bust="2024-05-14-fix-progresspanel" # 设置为root用户以安装系统依赖 USER root @@ -18,19 +16,10 @@ RUN yum install -y \ WORKDIR /app # 优先复制package.json和package-lock.json以利用Docker缓存 COPY package.json package-lock.json ./ -# 清理npm缓存 -RUN npm cache clean --force # 安装依赖(忽略peer依赖冲突) RUN npm install --legacy-peer-deps # 复制项目文件 -# 添加时间戳以破坏缓存 -ARG BUILD_DATE -ARG BUILD_VERSION -ENV BUILD_DATE=$BUILD_DATE -ENV BUILD_VERSION=$BUILD_VERSION COPY . . -# 清理Docusaurus缓存和构建目录 -RUN rm -rf .docusaurus build # 构建应用 RUN npm run build # 暴露端口