1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-20 10:28:45 +00:00

Fix devcontainer workspace and use env (#4302)

This commit is contained in:
Mike Degatano
2023-05-18 15:23:12 -04:00
committed by GitHub
parent 9dd5d89458
commit c5566f40ca

View File

@@ -1,8 +1,9 @@
{ {
"name": "Supervisor dev", "name": "Supervisor dev",
"image": "ghcr.io/home-assistant/devcontainer:supervisor", "image": "ghcr.io/home-assistant/devcontainer:supervisor",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace/supervisor/,type=bind", "containerEnv": {
"workspaceFolder": "/workspace/supervisor/", "WORKSPACE_DIRECTORY": "${containerWorkspaceFolder}"
},
"appPort": ["9123:8123", "7357:4357"], "appPort": ["9123:8123", "7357:4357"],
"postCreateCommand": "bash devcontainer_bootstrap", "postCreateCommand": "bash devcontainer_bootstrap",
"runArgs": ["-e", "GIT_EDITOR=code --wait", "--privileged"], "runArgs": ["-e", "GIT_EDITOR=code --wait", "--privileged"],