2023-02-10 17:45:41 +00:00
|
|
|
// For format details, see https://aka.ms/devcontainer.json
|
|
|
|
|
{
|
|
|
|
|
"name": "pallets/flask",
|
2023-02-24 08:38:21 -08:00
|
|
|
"image": "mcr.microsoft.com/devcontainers/python:3",
|
2023-02-10 17:45:41 +00:00
|
|
|
|
2023-02-17 23:53:55 +00:00
|
|
|
// Configure tool-specific properties.
|
|
|
|
|
"customizations": {
|
|
|
|
|
// Configure properties specific to VS Code.
|
|
|
|
|
"vscode": {
|
|
|
|
|
// Set *default* container specific settings.json values on container create.
|
|
|
|
|
"settings": {
|
2023-02-18 01:13:41 +00:00
|
|
|
// Settings for the python extension.
|
|
|
|
|
"python.defaultInterpreterPath": "${workspaceFolder}/.venv",
|
2023-02-24 17:52:05 +00:00
|
|
|
"python.terminal.activateEnvInCurrentTerminal": true
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"codespaces": {
|
|
|
|
|
"openFiles": [
|
2023-03-09 22:46:55 +00:00
|
|
|
".devcontainer/codespaces-welcome-message.txt"
|
2023-02-18 01:13:41 +00:00
|
|
|
]
|
2023-02-17 23:53:55 +00:00
|
|
|
}
|
2023-02-10 23:33:17 +00:00
|
|
|
},
|
|
|
|
|
|
2023-02-10 18:22:44 +00:00
|
|
|
// Runs the initial setup commands after the container is created.
|
2023-02-10 21:22:22 +00:00
|
|
|
"postCreateCommand": "sudo chmod +x .devcontainer/post-create-command.sh && .devcontainer/post-create-command.sh"
|
2023-02-10 17:45:41 +00:00
|
|
|
}
|