Skip to content

Commit 70ba784

Browse files
Ensure pnpm cache mount directory exists
1 parent 8147dcd commit 70ba784

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"pnpm": "10.8.1"
88
}
99
},
10+
"initializeCommand": "mkdir -p ${localEnv:HOME}/.pnpm-store",
1011
"mounts": ["source=${localEnv:HOME}/.pnpm-store,target=/home/vscode/.pnpm-store,type=bind"],
1112
"forwardPorts": [5173],
1213
"postCreateCommand": "corepack enable && corepack prepare [email protected] --activate && pnpm install",

0 commit comments

Comments
 (0)