mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2025-05-18 18:41:48 +02:00
Add devcontainer.json setup
This commit is contained in:
parent
10717e753b
commit
58dd0dd93b
32
.devcontainer/devcontainer.json
Normal file
32
.devcontainer/devcontainer.json
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
"image": "mcr.microsoft.com/devcontainers/universal:2",
|
||||
"hostRequirements": {
|
||||
"cpus": 4
|
||||
},
|
||||
"waitFor": "onCreateCommand",
|
||||
"updateContentCommand": "pip install -r requirements.txt",
|
||||
"postCreateCommand": "",
|
||||
"postAttachCommand": {
|
||||
"server": "flask --debug run"
|
||||
},
|
||||
"portsAttributes": {
|
||||
"5000": {
|
||||
"label": "Application",
|
||||
"onAutoForward": "openPreview"
|
||||
}
|
||||
},
|
||||
"customizations": {
|
||||
"codespaces": {
|
||||
"openFiles": [
|
||||
"templates/index.html"
|
||||
]
|
||||
},
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"ms-python.python"
|
||||
]
|
||||
}
|
||||
},
|
||||
"forwardPorts": [5000]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user