更新Dockerfile,替换yarn为pnpm作为全局安装的包管理器

This commit is contained in:
2025-04-30 12:29:49 +08:00
parent 5e25b3f4e1
commit 993748db9d

View File

@@ -5,7 +5,7 @@ USER root
# 安装Node.js
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
apt-get install -y nodejs && \
npm install -g npm@latest yarn
npm install -g npm@latest pnpm
# 可以添加其他开发工具
RUN apt-get update && apt-get install -y \