chore: Add vscode devcontainer

This commit is contained in:
peaceiris
2020-06-20 11:38:56 +09:00
parent 7160613349
commit 3e33579947
5 changed files with 64 additions and 3 deletions

View File

@@ -0,0 +1,29 @@
{
"name": "Node",
"build": {
"dockerfile": "../Dockerfile",
"context": "..",
"args": {
"NODE_VERSION": "12.18.1"
}
},
// Set *default* container specific settings.json values on container create.
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"editorconfig.editorconfig"
],
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "npm ci",
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
// "remoteUser": "vscode"
}