Files
node/.devcontainer/devcontainer.json

30 lines
941 B
JSON
Raw Normal View History

// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.134.0/containers/javascript-node
2019-04-16 19:41:33 -07:00
{
"name": "Node.js",
"build": {
"dockerfile": "Dockerfile",
// Update 'VARIANT' to pick a Node version: 10, 12, 14
"args": { "VARIANT": "12" }
},
2019-08-26 14:00:50 -07:00
// Set *default* container specific settings.json values on container create.
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
},
2019-08-26 14:00:50 -07:00
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"dbaeumer.vscode-eslint"
],
2020-04-09 00:42:27 +00:00
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [3000],
2020-04-09 00:42:27 +00:00
// Specifies a command that should be run after the container has been created.
"postCreateCommand": "yarn install",
2020-04-09 00:42:27 +00:00
// Comment out the next line to run as root instead.
"remoteUser": "node"
2020-02-27 15:34:04 +01:00
}