From e6d0ba89cdb599e2ddc7418d42b4599b7cbde1d0 Mon Sep 17 00:00:00 2001 From: "@beer" <47961062+iiio2@users.noreply.github.com> Date: Mon, 15 Apr 2024 16:46:13 +0600 Subject: [PATCH] feat: add `.devcontainer` (#26) --- .devcontainer/devcontainer.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..af72dc2 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,20 @@ +{ + "name": "metridash-devcontainer", + "build": { + "dockerfile": "../Dockerfile" + }, + "customizations": { + "vscode": { + "settings": {}, + "extensions": [ + "ms-azuretools.vscode-docker", + "github.vscode-github-actions", + "dbaeumer.vscode-eslint", + "dsznajder.es7-react-js-snippets" + ] + } + }, + "forwardPorts": [5314], + "postStartCommand": "npm install && npm run dev", + "mounts": ["type=volume,target=${containerWorkspaceFolder}/node_modules"] +}