chore: Update Dockerfile and package-lock.json for xlsx package management

This commit is contained in:
wizardchen
2025-11-17 13:15:10 +08:00
parent da5f71dfd3
commit a886106917
4 changed files with 2 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ ENV VITE_IS_DOCKER=true
# 复制依赖文件
COPY package*.json ./
COPY packages/xlsx-0.20.2.tgz ./packages/xlsx-0.20.2.tgz
# 安装依赖
RUN corepack enable

View File

@@ -22,7 +22,7 @@
"vue-i18n": "^11.1.12",
"vue-router": "^4.5.0",
"webpack": "^5.94.0",
"xlsx": "file:../packages/xlsx-0.20.2.tgz"
"xlsx": "file:./packages/xlsx-0.20.2.tgz"
},
"devDependencies": {
"@tsconfig/node22": "^22.0.1",