flask/.devcontainer/devcontainer.json

14 lines
555 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-10 19:30:33 +00:00
// Displays a custom welcome message
"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.
2023-02-10 19:30:33 +00:00
"postCreateCommand": "sudo chmod +x .devcontainer/post-create-command.sh && .devcontainer/post-create-command.sh",
2023-02-10 17:45:41 +00:00
// Activates the virtual environment after the container is started.
2023-02-10 19:30:33 +00:00
"postStartCommand": ". .venv/bin/activate"
2023-02-10 17:45:41 +00:00
}