parcel_box_key_management/.devcontainer/devcontainer.json

30 lines
687 B
JSON

{
"name": "Python Dev Container",
"image": "python:3.9",
"customizations": {
"terminal.integrated.profiles.linux": {
"bash": {
"path": "/bin/bash"
}
},
"vscode": {
"settings": {
"terminal.integrated.defaultProfile.linux": "bash"
},
"extensions": [
"ms-python.python"
]
}
},
"containerEnv": {
"DATABASE_URL": "sqlite:///database.db",
"FLASK_APP": "app.py",
"FLASK_ENV": "development"
},
"mounts": [
"source=${localWorkspaceFolder}/database.db,target=/workspace/database.db,type=bind",
"source=${localWorkspaceFolder},target=/workspace/app,type=bind,consistency=cached"
],
"postCreateCommand": "pip install -r requirements.txt"
}