KevinK.dev.js/.devcontainer/devcontainer.json

36 lines
1.3 KiB
JSON

{
"name": "Node.js",
"build": {
"dockerfile": "Dockerfile",
// Update 'VARIANT' to pick a Node version: 10, 12, 14
"args": {
"VARIANT": "14"
}
},
// 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": [
"dbaeumer.vscode-eslint",
"aaron-bond.better-comments",
"wscats.qf",
"eamodio.gitlens",
"kumar-harsh.graphql-for-vscode",
"antfu.i18n-ally",
"mrmlnc.vscode-json5",
"ms-vsliveshare.vsliveshare",
"afractal.node-essentials",
"eg2.vscode-npm-script",
"syler.sass-indented",
"visualstudioexptteam.vscodeintellicode",
"EditorConfig.EditorConfig"
],
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [8000],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "npm install",
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "node"
}