mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-19 14:14:12 +01:00
install python in devcontainer
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
"name": "NSPanel Lovelace UI Home Assistant add-on repository",
|
"name": "NSPanel Lovelace UI Home Assistant add-on repository",
|
||||||
"image": "ghcr.io/home-assistant/devcontainer:addons",
|
"image": "ghcr.io/home-assistant/devcontainer:addons",
|
||||||
"appPort": ["7123:8123", "7357:4357"],
|
"appPort": ["7123:8123", "7357:4357"],
|
||||||
|
"postCreateCommand": "apt install -y python3 python3-pip && pip install -r nspanel-lovelace-ui/rootfs/usr/bin/mqtt-manager/requirements.txt --break-system-packages",
|
||||||
"postStartCommand": "bash devcontainer_bootstrap",
|
"postStartCommand": "bash devcontainer_bootstrap",
|
||||||
"runArgs": ["-e", "GIT_EDITOR=code --wait", "--privileged"],
|
"runArgs": ["-e", "GIT_EDITOR=code --wait", "--privileged"],
|
||||||
"remoteUser":"root",
|
"remoteUser":"root",
|
||||||
|
|||||||
Reference in New Issue
Block a user