Update .devcontainer/devcontainer.json

This commit is contained in:
2025-01-30 13:28:09 +01:00
parent de241b534c
commit eee9e7fcac

View File

@@ -11,9 +11,9 @@
"NODE_EXTRA_CA_CERTS": "/usr/local/share/ca-certificates/sophos.crt"
},
// Add bash_history
"mounts": [
"source=projectname-bashhistory,target=/commandhistory,type=volume"
],
//"mounts": [
// "source=projectname-bashhistory,target=/commandhistory,type=volume"
//],
// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
@@ -29,9 +29,9 @@
// "forwardPorts": [3000, 27017],
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "yarn install",
"postCreateCommand": {
"Fix Volume Permissions": "sudo chown -R $(whoami): /commandhistory"
}
// "postCreateCommand": {
// "Fix Volume Permissions": "sudo chown -R $(whoami): /commandhistory"
// }
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}