devcontainer.json 847 B

1234567891011121314151617181920212223242526272829303132
  1. {
  2. "build": {
  3. "dockerfile": "Dockerfile"
  4. },
  5. "features": {
  6. "ghcr.io/devcontainers/features/github-cli": {}
  7. },
  8. "customizations": {
  9. "vscode": {
  10. "extensions": [
  11. "ms-python.python",
  12. "ms-azuretools.vscode-docker"
  13. ],
  14. "remote.otherPortsAttributes": {
  15. "protocol": "https"
  16. },
  17. "settings": {
  18. "files.autoSave": "off",
  19. "python.defaultInterpreterPath": "/workspaces/searxng/local/py3/bin/python3",
  20. "python.formatting.blackPath": "/workspaces/searxng/local/py3/bin/black",
  21. "python.linting.pylintPath": "/workspaces/searxng/local/py3/bin/pylint"
  22. }
  23. }
  24. },
  25. "forwardPorts": [8000, 8888],
  26. "portsAttributes": {
  27. "8000": {"label": "Sphinx documentation"},
  28. "8888": {"label": "SearXNG"}
  29. },
  30. "postCreateCommand": "git pull && make install"
  31. }