devcontainer.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. // For format details, see https://aka.ms/devcontainer.json.
  2. {
  3. "name": "nicegui-dev",
  4. "build": {
  5. "context": "..",
  6. "dockerfile": "Dockerfile"
  7. },
  8. "customizations": {
  9. "vscode": {
  10. "extensions": [
  11. "charliermarsh.ruff",
  12. "cschleiden.vscode-github-actions",
  13. "esbenp.prettier-vscode",
  14. "littlefoxteam.vscode-python-test-adapter",
  15. "ms-python.autopep8",
  16. "ms-python.mypy-type-checker",
  17. "ms-python.pylint",
  18. "ms-python.python",
  19. "ms-python.vscode-pylance",
  20. "samuelcolvin.jinjahtml",
  21. "Vue.volar"
  22. ],
  23. "settings": {
  24. "ruff.enable": true,
  25. "terminal.integrated.defaultProfile.linux": "bash",
  26. "terminal.integrated.shell.linux": "bash",
  27. "terminal.integrated.profiles.linux": {
  28. "bash (container default)": {
  29. "path": "/usr/bin/bash",
  30. "overrideName": true
  31. }
  32. }
  33. }
  34. }
  35. },
  36. // More info: https://aka.ms/dev-containers-non-root.
  37. "remoteUser": "vscode",
  38. "postCreateCommand": "poetry install --all-extras"
  39. }