esphome-docs/.devcontainer/devcontainer.json
2023-10-18 22:34:15 +13:00

21 lines
585 B
JSON

// https://github.com/microsoft/vscode-dev-containers/tree/v0.183.0/containers/python-3
{
"name": "ESPHome - docs",
"image": "mcr.microsoft.com/vscode/devcontainers/python:0-3.11",
"postCreateCommand": "pip3 install -r requirements.txt -r requirements_test.txt",
"postAttachCommand": "make live-html",
"forwardPorts": [8000],
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {}
},
"customizations": {
"vscode": {
"settings": {
"python.pythonPath": "/usr/local/bin/python"
},
"extensions": ["ms-python.python"]
}
}
}