-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathdevcontainer.json
More file actions
39 lines (33 loc) · 1.03 KB
/
Copy pathdevcontainer.json
File metadata and controls
39 lines (33 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.195.0/containers/javascript-node
{
"name": "Node.js",
"build": {
"dockerfile": "Dockerfile",
// Update 'VARIANT' to pick a Node version: 16, 14, 12.
// Append -bullseye or -buster to pin to an OS version.
// Use -bullseye variants on local arm64/Apple Silicon.
"args": { "VARIANT": "24-trixie" }
},
"settings": {},
"extensions": [
"dbaeumer.vscode-eslint",
"mikestead.dotenv",
"mcright.auto-save",
"donjayamanne.git-extension-pack",
"redhat.vscode-yaml",
"github.copilot",
"ms-azuretools.vscode-docker"
],
"portsAttributes": {
"3000": {
"label": "probot",
"onAutoForward": "notify",
"requireLocalPort": true
}
},
"postCreateCommand": "npm install && npm install -g mocha nyc uvu",
"remoteUser": "node",
// Setup aws creds via mount
"mounts": ["source=${localEnv:HOME}/.aws,target=/home/node/.aws,type=bind,consistency=cached"]
}