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

@ -6,10 +6,6 @@
"waitFor": "onCreateCommand", "waitFor": "onCreateCommand",
"onCreateCommand": "curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | sudo bash && sudo apt install -y libmariadb3 libmariadb-dev", "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", "updateContentCommand": "pip install -r backend/requirements.txt",
"postCreateCommand": "",
"postAttachCommand": {
"server": "flask --debug run"
},
"portsAttributes": { "portsAttributes": {
"5000": { "5000": {
"label": "Application", "label": "Application",
@ -24,7 +20,14 @@
}, },
"vscode": { "vscode": {
"extensions": [ "extensions": [
"ms-python.python" "ms-python.python",
"batisteo.vscode-django",
"ms-python.flake8",
"ms-python.isort",
"ms-python.vscode-pylance",
"redhat.vscode-yaml",
"ms-azuretools.vscode-docker",
"donjayamanne.python-extension-pack"
] ]
} }
}, },
@ -35,4 +38,3 @@
"ghcr.io/devcontainers-contrib/features/angular-cli:2": {} "ghcr.io/devcontainers-contrib/features/angular-cli:2": {}
} }
} }