Skip to content

Commit 0187d46

Browse files
committed
feat: persist ai credentials to the host
Signed-off-by: Simon Emms <simon@simonemms.com>
1 parent f6476dd commit 0187d46

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

images/base/.devcontainer/devcontainer.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,22 @@
3737
}
3838
}
3939
},
40+
"mounts": [
41+
{
42+
"source": "${localEnv:HOME}${localEnv:USERPROFILE}/.claude",
43+
"target": "/home/vscode/.claude",
44+
"type": "bind"
45+
},
46+
{
47+
"source": "${localEnv:HOME}${localEnv:USERPROFILE}/.codex",
48+
"target": "/home/vscode/.codex",
49+
"type": "bind"
50+
}
51+
],
52+
"initializeCommand": {
53+
"init-claude": "mkdir -p ${localEnv:HOME}${localEnv:USERPROFILE}/.claude",
54+
"init-codex": "mkdir -p ${localEnv:HOME}${localEnv:USERPROFILE}/.codex"
55+
},
4056
"shutdownAction": "stopContainer",
4157
"remoteUser": "vscode",
4258
"postCreateCommand": {

0 commit comments

Comments
 (0)