mirror of
https://github.com/mtan93/homeassistant-addons.git
synced 2026-03-16 21:03:10 +00:00
Add devcontainer
This commit is contained in:
16
.devcontainer/devcontainer.json
Normal file
16
.devcontainer/devcontainer.json
Normal file
@@ -0,0 +1,16 @@
|
||||
// Based on https://github.com/issacg/hassio-addon-devcontainer
|
||||
{
|
||||
"name": "Home Assistant Add-Ons",
|
||||
"context": "..",
|
||||
"dockerFile": "Dockerfile",
|
||||
"appPort": ["7123:8123", "7357:4357"],
|
||||
"postStartCommand": "service docker start",
|
||||
"runArgs": ["-e", "GIT_EDITOR=code --wait", "--privileged"],
|
||||
"extensions": [
|
||||
"timonwong.shellcheck",
|
||||
"esbenp.prettier-vscode"
|
||||
],
|
||||
"settings": {
|
||||
"terminal.integrated.shell.linux": "/bin/bash"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user