devcontainer.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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/anaconda
  3. {
  4. "name": "Python 3.10",
  5. "build": {
  6. "context": "..",
  7. "dockerfile": "Dockerfile"
  8. },
  9. "features": {
  10. "ghcr.io/devcontainers/features/node:1": {
  11. "nodeGypDependencies": true,
  12. "version": "lts"
  13. },
  14. "ghcr.io/devcontainers-contrib/features/npm-package:1": {
  15. "package": "typescript",
  16. "version": "latest"
  17. },
  18. "ghcr.io/devcontainers/features/docker-in-docker:2": {
  19. "moby": true,
  20. "azureDnsAutoDetection": true,
  21. "installDockerBuildx": true,
  22. "version": "latest",
  23. "dockerDashComposeVersion": "v2"
  24. }
  25. },
  26. "customizations": {
  27. "vscode": {
  28. "extensions": [
  29. "ms-python.pylint",
  30. "GitHub.copilot",
  31. "ms-python.python"
  32. ]
  33. }
  34. },
  35. "postStartCommand": "./.devcontainer/post_start_command.sh",
  36. "postCreateCommand": "./.devcontainer/post_create_command.sh"
  37. // Features to add to the dev container. More info: https://containers.dev/features.
  38. // "features": {},
  39. // Use 'forwardPorts' to make a list of ports inside the container available locally.
  40. // "forwardPorts": [],
  41. // Use 'postCreateCommand' to run commands after the container is created.
  42. // "postCreateCommand": "python --version",
  43. // Configure tool-specific properties.
  44. // "customizations": {},
  45. // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
  46. // "remoteUser": "root"
  47. }