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