// For format details, see https://aka.ms/devcontainer.json. For config options, see the // README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile { "name": "Appdaemon", "build": { // Sets the run context to one level up instead of the .devcontainer folder. "context": "..", // Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename. "dockerfile": "../Dockerfile.dev_container" }, "mounts": [ "source=/etc/localtime,target=/etc/localtime,type=bind,consistency=cached", "source=/etc/timezone,target=/etc/timezone,type=bind,consistency=cached", "source=${localEnv:HOME}/.ssh,target=/root/.ssh,type=bind,consistency=cached" ], "workspaceMount": "source=${localWorkspaceFolder},target=/conf,type=bind", "workspaceFolder": "/conf", // Features to add to the dev container. More info: https://containers.dev/features. "features": { "ghcr.io/devcontainers/features/github-cli:1": {} }, // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [], // Uncomment the next line to run commands after the container is created. // "postCreateCommand": "cat /etc/os-release", // Configure tool-specific properties. "customizations": { "vscode": { // Add the IDs of extensions you want installed when the container is created. "extensions": [ "ms-python.python", "ms-toolsai.jupyter", "mhutchie.git-graph", "ms-python.isort", "ms-python.autopep8" ] } } // Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root. // "remoteUser": "devcontainer" }