Refactor devcontainer.json for improved readability and structure
This commit is contained in:
parent
dd8c3e0998
commit
39862acfa3
@ -1,6 +1,8 @@
|
||||
{
|
||||
"name": "Python Poetry Dev",
|
||||
"build": { "dockerfile": "Dockerfile" },
|
||||
"build": {
|
||||
"dockerfile": "Dockerfile"
|
||||
},
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
@ -20,5 +22,17 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"runArgs": [
|
||||
"--privileged",
|
||||
"-v",
|
||||
"/dev:/dev"
|
||||
],
|
||||
"mounts": [
|
||||
"source=${localEnv:XDG_RUNTIME_DIR}/ssh-agent.socket,target=/tmp/ssh-agent.socket,type=bind"
|
||||
],
|
||||
"remoteEnv": {
|
||||
"SSH_AUTH_SOCK": "/tmp/ssh-agent.socket"
|
||||
},
|
||||
"remoteUser": "root",
|
||||
"postCreateCommand": "poetry install"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user