Files
DiscScanner/.devcontainer/devcontainer.json
T

33 lines
947 B
JSON
Raw Normal View History

2026-10-22 08:45:37 +02:00
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/python
{
"name": "Python (uv)",
"image": "mcr.microsoft.com/devcontainers/python:3.12",
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/va-h/devcontainers-features/uv:1": {}
},
"containerEnv": {
// The uv cache and .venv are on different filesystems in the container:
// copy instead of hardlinking to avoid a warning on every install.
"UV_LINK_MODE": "copy"
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// 8000 is used by `uv run mkdocs serve`.
"forwardPorts": [8000],
"postCreateCommand": "uv sync",
// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"charliermarsh.ruff"
]
}
}
}