chore: update devcontainer configuration for improved setup

This commit is contained in:
Marek Lesko
2025-10-14 10:16:23 +00:00
parent 08d4432351
commit 4c110f7f6e

View File

@@ -1,6 +1,7 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the // For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/dotnet-mssql // README at: https://github.com/devcontainers/templates/tree/main/src/dotnet-mssql
{ {
"name": ".NET (C#), Node.js (TypeScript) & MS SQL", "name": ".NET (C#), Node.js (TypeScript) & MS SQL",
"dockerComposeFile": "docker-compose.yml", "dockerComposeFile": "docker-compose.yml",
"service": "app", "service": "app",
@@ -53,7 +54,7 @@
"SA_PASSWORD": "P@ssw0rd", "SA_PASSWORD": "P@ssw0rd",
"ACCEPT_EULA": "Y" "ACCEPT_EULA": "Y"
}, },
"postCreateCommand": "bash .devcontainer/mssql/postCreateCommand.sh 'P@ssw0rd' './bin/Debug/' './.devcontainer/mssql/'" "postCreateCommand": "npm install -g @devcontainers/cli@0.70.0 && bash .devcontainer/mssql/postCreateCommand.sh 'P@ssw0rd' './bin/Debug/' './.devcontainer/mssql/'"
// 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"
} }