Files
StableStudio/.devcontainer/devcontainer.json
Stephan Auerhahn cf4553a71e Add port attributes
2023-05-20 13:09:55 +00:00

28 lines
758 B
JSON

// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
{
"name": "StableStudio dev",
"image": "mcr.microsoft.com/devcontainers/typescript-node:0-18",
// avoid git "dubious ownership" errors, which break yarn
"postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder} && yarn install",
"customizations": {
"vscode": {
"settings": {},
"extensions": [
"vscode.typescript-language-features"
]
}
},
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {
}
},
"portsAttributes": {
"3000": {
"label": "Application",
"onAutoForward": "openBrowserOnce"
}
}
}