44 lines
1.0 KiB
JSON
Executable File
44 lines
1.0 KiB
JSON
Executable File
{
|
|
"name": "Kredens Prebuilt Dev Container",
|
|
"build": {
|
|
"dockerfile": "../../dockerfiles/devcontainer.dockerfile",
|
|
"context": "../.."
|
|
},
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/docker-outside-of-docker": {
|
|
"installDockerComposeSwitch": false
|
|
},
|
|
"ghcr.io/devcontainers/features/node:1": {
|
|
"nodeGypDependencies": true,
|
|
"installYarnUsingApt": true,
|
|
"version": "lts",
|
|
"pnpmVersion": "latest",
|
|
"nvmVersion": "latest"
|
|
}
|
|
},
|
|
"onCreateCommand": "onCreate.sh",
|
|
"postAttachCommand": "postAttach.sh",
|
|
"remoteEnv": {
|
|
"LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}",
|
|
"WORKSPACE_FOLDER": "${containerWorkspaceFolder}",
|
|
"UV_LINK_MODE": "copy"
|
|
},
|
|
"mounts": [
|
|
{
|
|
"type": "volume",
|
|
"source": "${devcontainerId}-node-modules",
|
|
"target": "${containerWorkspaceFolder}/node_modules"
|
|
},
|
|
{
|
|
"type": "volume",
|
|
"source": "${devcontainerId}-bashhistory",
|
|
"target": "/commandhistory"
|
|
}
|
|
],
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": ["ms-azuretools.vscode-docker"]
|
|
}
|
|
}
|
|
}
|