mirror of
https://github.com/searxng/searxng.git
synced 2025-07-12 07:49:22 +02:00
Add GitHub Codespaces configuration
This commit is contained in:
parent
9dc36965bb
commit
7b711cb15d
6 changed files with 124 additions and 0 deletions
4
.devcontainer/Dockerfile
Normal file
4
.devcontainer/Dockerfile
Normal file
|
@ -0,0 +1,4 @@
|
|||
FROM mcr.microsoft.com/devcontainers/base:debian
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get -y install python3 python3-venv redis firefox-esr graphviz imagemagick librsvg2-bin fonts-dejavu shellcheck
|
31
.devcontainer/devcontainer.json
Normal file
31
.devcontainer/devcontainer.json
Normal file
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"build": {
|
||||
"dockerfile": "Dockerfile"
|
||||
},
|
||||
"features": {
|
||||
"ghcr.io/devcontainers/features/github-cli": {}
|
||||
},
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"ms-python.python",
|
||||
"ms-azuretools.vscode-docker"
|
||||
],
|
||||
"remote.otherPortsAttributes": {
|
||||
"protocol": "https"
|
||||
},
|
||||
"settings": {
|
||||
"files.autoSave": "off",
|
||||
"python.defaultInterpreterPath": "/workspaces/searxng/local/py3/bin/python3",
|
||||
"python.formatting.blackPath": "/workspaces/searxng/local/py3/bin/black",
|
||||
"python.linting.pylintPath": "/workspaces/searxng/local/py3/bin/pylint"
|
||||
}
|
||||
}
|
||||
},
|
||||
"forwardPorts": [8000, 8888],
|
||||
"portsAttributes": {
|
||||
"8000": {"label": "Sphinx documentation"},
|
||||
"8888": {"label": "SearXNG"}
|
||||
},
|
||||
"postCreateCommand": "git pull && make install"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue