flask/.devcontainer/devcontainer.json
2023-02-10 19:30:33 +00:00

13 lines
555 B
JSON

// For format details, see https://aka.ms/devcontainer.json
{
"name": "pallets/flask",
// Displays a custom welcome message
"onCreateCommand": "sudo cp .devcontainer/welcome-message.txt /usr/local/etc/vscode-dev-containers/first-run-notice.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",
// Activates the virtual environment after the container is started.
"postStartCommand": ". .venv/bin/activate"
}