devcontainer.json 964 B

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