diff --git a/DigitalHumanWeb/Dockerfile b/DigitalHumanWeb/Dockerfile index ae9603a..a8ee26a 100644 --- a/DigitalHumanWeb/Dockerfile +++ b/DigitalHumanWeb/Dockerfile @@ -1,5 +1,5 @@ ## Base image for all the stages -FROM node:20-slim AS base +FROM node:22-slim AS base ARG USE_CN_MIRROR @@ -67,7 +67,7 @@ RUN \ # Enable corepack && corepack enable \ # Use pnpm for corepack - && corepack use pnpm \ + && corepack use $(sed -n 's/.*"packageManager": "\(.*\)".*/\1/p' package.json) \ # Install the dependencies && pnpm i \ # Add sharp dependencies diff --git a/DigitalHumanWeb/package.json b/DigitalHumanWeb/package.json index 7be646f..ddf5ffe 100644 --- a/DigitalHumanWeb/package.json +++ b/DigitalHumanWeb/package.json @@ -123,7 +123,7 @@ "@lobehub/chat-plugins-gateway": "^1.9.0", "@lobehub/icons": "^1.33.7", "@lobehub/tts": "^1.24.3", - "@lobehub/ui": "^1.150.3", + "@lobehub/ui": "1.150.3", "@neondatabase/serverless": "^0.9.4", "@next/third-parties": "^14.2.6", "@react-spring/web": "^9.7.3", diff --git a/DigitalHumanWeb/src/app/(main)/applicationset/applicationset.tsx b/DigitalHumanWeb/src/app/(main)/applicationset/applicationset.tsx index c198df7..c589346 100644 --- a/DigitalHumanWeb/src/app/(main)/applicationset/applicationset.tsx +++ b/DigitalHumanWeb/src/app/(main)/applicationset/applicationset.tsx @@ -728,7 +728,7 @@ const ApplicationSet = memo(() => { url: "/flxai/api/robot/apptoolsset/getAllAiTools", }).then((response) => { if (response.code === 0) { - console.log(response,"2222") + // console.log(response,"2222") setStData(response.data); } }).catch(error => {