flask/.devcontainer/devcontainer.json

26 lines
885 B
JSON
Raw Normal View History

2023-02-10 17:45:41 +00:00
// For format details, see https://aka.ms/devcontainer.json
{
"name": "pallets/flask",
2023-02-17 23:53:55 +00:00
"image": "mcr.microsoft.com/vscode/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": {
"python.defaultInterpreterPath": "/workspaces/flask/.venv/bin/python",
"python.linting.enabled": true,
"python.linting.pylintEnabled": true
}
}
2023-02-10 23:33:17 +00:00
},
2023-02-17 23:53:55 +00:00
// Displays a custom welcome message.
2023-02-10 19:30:33 +00:00
"onCreateCommand": "sudo cp .devcontainer/welcome-message.txt /usr/local/etc/vscode-dev-containers/first-run-notice.txt",
2023-02-10 17:45:41 +00:00
// Runs the initial setup commands after the container is created.
"postCreateCommand": "sudo chmod +x .devcontainer/post-create-command.sh && .devcontainer/post-create-command.sh"
2023-02-10 17:45:41 +00:00
}