devcontainer.json 985 B

12345678910111213141516171819202122232425262728
  1. // For format details, see https://aka.ms/devcontainer.json. For config options, see the
  2. // README at: https://github.com/devcontainers/templates/tree/main/src/dotnet
  3. {
  4. "name": "C# (.NET)",
  5. // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
  6. "image": "mcr.microsoft.com/devcontainers/dotnet:2-10.0-noble",
  7. // Features to add to the dev container. More info: https://containers.dev/features.
  8. "features": {
  9. },
  10. // Use 'forwardPorts' to make a list of ports inside the container available locally.
  11. // "forwardPorts": [5000, 5001],
  12. // "portsAttributes": {
  13. // "5001": {
  14. // "protocol": "https"
  15. // }
  16. // }
  17. // Use 'postCreateCommand' to run commands after the container is created.
  18. "postCreateCommand": "sudo .devcontainer/postInstall.sh"
  19. // Configure tool-specific properties.
  20. // "customizations": {},
  21. // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
  22. // "remoteUser": "root"
  23. }