build(devcontainer): adjust pnpm store directory creation

This commit is contained in:
严浩
2025-11-13 22:51:55 +08:00
parent 33801ca211
commit 88cc365935

View File

@@ -94,6 +94,6 @@ RUN sh -c "$(curl -L -o - https://github.com/deluan/zsh-in-docker/releases/downl
# https://pnpm.io/installation#in-a-docker-container
RUN wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.zshrc" SHELL="$(which zsh)" zsh - \
&& pnpm --version \
&& mkdir /home/usr_vscode/.pnpm-store \
# /home/usr_vscode/.config/pnpm/rc
&& mkdir -p /home/usr_vscode/.pnpm-store \
&& pnpm config --global set store-dir /home/usr_vscode/.pnpm-store