-
-
Notifications
You must be signed in to change notification settings - Fork 214
Expand file tree
/
Copy pathdevcontainer.json
More file actions
44 lines (34 loc) · 1.82 KB
/
Copy pathdevcontainer.json
File metadata and controls
44 lines (34 loc) · 1.82 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
40
41
42
43
44
// 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.177.0/containers/docker-existing-dockerfile
{
"name": "Moddable develop",
// Sets the run context to one level up instead of the .devcontainer folder.
"context": "..",
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
"dockerFile": "../docker/Dockerfile",
// Set *default* container specific settings.json values on container create.
// "settings": {
// "terminal.integrated.shell.linux": null
// },
// Add the IDs of extensions you want installed when the container is created.
"extensions": [],
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Uncomment the next line to run commands after the container is created - for example installing curl.
// "postCreateCommand": "apt-get update && apt-get install -y curl",
"postCreateCommand": "npm install",
// Uncomment when using a ptrace-based debugger like C++, Go, and Rust
// "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
"runArgs": ["--privileged", "--net=host", "--group-add=dialout"],
"containerEnv": {
"DISPLAY": "${localEnv:DISPLAY}"
},
// Uncomment to use the Docker CLI from inside the container. See https://aka.ms/vscode-remote/samples/docker-from-docker.
// "mounts": [ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind" ],
"mounts": [
"type=volume,source=stackchan_firmware_node_modules,target=/workspace/node_modules",
"type=bind,source=/dev,target=/dev,type=bind"
],
// Uncomment to connect as a non-root user if you've added one. See https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "node"
}