mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-10 18:56:30 +00:00
Fix devcontainer workspace and use env (#4302)
This commit is contained in:
parent
9dd5d89458
commit
c5566f40ca
@ -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"],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user