更新Dockerfile,替换yarn为pnpm作为全局安装的包管理器
This commit is contained in:
@@ -5,7 +5,7 @@ USER root
|
|||||||
# 安装Node.js
|
# 安装Node.js
|
||||||
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
|
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
|
||||||
apt-get install -y nodejs && \
|
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 \
|
RUN apt-get update && apt-get install -y \
|
||||||
|
|||||||
Reference in New Issue
Block a user