esphome-docs/.devcontainer/devcontainer.json

21 lines
585 B
JSON
Raw Normal View History

2021-06-16 10:29:54 +02:00
// https://github.com/microsoft/vscode-dev-containers/tree/v0.183.0/containers/python-3
{
2023-10-18 11:34:15 +02:00
"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"
},
2021-06-16 10:29:54 +02:00
2023-10-18 11:34:15 +02:00
"extensions": ["ms-python.python"]
}
}
2021-06-16 10:29:54 +02:00
}