26 lines
823 B
JSON
26 lines
823 B
JSON
// For format details, see https://aka.ms/devcontainer.json
|
|
{
|
|
"name": "pallets/flask",
|
|
"image": "mcr.microsoft.com/devcontainers/python:3",
|
|
|
|
// Configure tool-specific properties.
|
|
"customizations": {
|
|
// Configure properties specific to VS Code.
|
|
"vscode": {
|
|
// Set *default* container specific settings.json values on container create.
|
|
"settings": {
|
|
// Settings for the python extension.
|
|
"python.defaultInterpreterPath": "${workspaceFolder}/.venv",
|
|
"python.terminal.activateEnvInCurrentTerminal": true
|
|
}
|
|
},
|
|
"codespaces": {
|
|
"openFiles": [
|
|
".devcontainer/codespaces-welcome-message.txt"
|
|
]
|
|
}
|
|
},
|
|
|
|
// Runs the initial setup commands after the container is created.
|
|
"postCreateCommand": "sudo chmod +x .devcontainer/post-create-command.sh && .devcontainer/post-create-command.sh"
|
|
}
|