Update devcontainer.json

This commit is contained in:
Phillip Kühne 2023-10-10 04:03:04 +00:00
parent 1fa276d8c1
commit 0be1ec655a

View File

@ -1,38 +1,40 @@
{ {
"image": "mcr.microsoft.com/devcontainers/universal:2", "image": "mcr.microsoft.com/devcontainers/universal:2",
"hostRequirements": { "hostRequirements": {
"cpus": 4 "cpus": 4
},
"waitFor": "onCreateCommand",
"onCreateCommand": "curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | sudo bash && sudo apt install -y libmariadb3 libmariadb-dev",
"updateContentCommand": "pip install -r backend/requirements.txt",
"portsAttributes": {
"5000": {
"label": "Application",
"onAutoForward": "openPreview"
}
},
"customizations": {
"codespaces": {
"openFiles": [
"templates/index.html"
]
}, },
"waitFor": "onCreateCommand", "vscode": {
"onCreateCommand": "curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | sudo bash && sudo apt install -y libmariadb3 libmariadb-dev", "extensions": [
"updateContentCommand": "pip install -r backend/requirements.txt", "ms-python.python",
"postCreateCommand": "", "batisteo.vscode-django",
"postAttachCommand": { "ms-python.flake8",
"server": "flask --debug run" "ms-python.isort",
}, "ms-python.vscode-pylance",
"portsAttributes": { "redhat.vscode-yaml",
"5000": { "ms-azuretools.vscode-docker",
"label": "Application", "donjayamanne.python-extension-pack"
"onAutoForward": "openPreview" ]
} }
}, },
"customizations": { "forwardPorts": [
"codespaces": { 5000
"openFiles": [ ],
"templates/index.html" "features": {
] "ghcr.io/devcontainers-contrib/features/angular-cli:2": {}
}, }
"vscode": { }
"extensions": [
"ms-python.python"
]
}
},
"forwardPorts": [
5000
],
"features": {
"ghcr.io/devcontainers-contrib/features/angular-cli:2": {}
}
}