13 lines
555 B
JSON
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"
|
|
}
|