Add devcontainer

This commit is contained in:
Max Winterstein
2021-02-27 00:28:08 +01:00
parent 7653532218
commit a25d47f581
4 changed files with 222 additions and 0 deletions

View 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"
}
}