devcontainer.json 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. // For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
  2. // https://github.com/microsoft/vscode-dev-containers/tree/v0.209.6/containers/typescript-node
  3. {
  4. "name": "Node.js & TypeScript",
  5. "build": {
  6. "dockerfile": "Dockerfile",
  7. // Update 'VARIANT' to pick a Node version: 16, 14, 12.
  8. // Append -bullseye or -buster to pin to an OS version.
  9. // Use -bullseye variants on local on arm64/Apple Silicon.
  10. "args": {
  11. "VARIANT": "16"
  12. }
  13. },
  14. // Set *default* container specific settings.json values on container create.
  15. "settings": {},
  16. // Add the IDs of extensions you want installed when the container is created.
  17. "extensions": [
  18. "dbaeumer.vscode-eslint"
  19. ],
  20. // Use 'forwardPorts' to make a list of ports inside the container available locally.
  21. // "forwardPorts": [],
  22. // Use 'postCreateCommand' to run commands after the container is created.
  23. // "postCreateCommand": "yarn install",
  24. // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
  25. "remoteUser": "node"
  26. }