forked from scalingpythonml/scalingpythonml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.devcontainer.json
33 lines (28 loc) · 1019 Bytes
/
.devcontainer.json
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
{
// "build": { "dockerfile": "web-demo-env/DemoDockerfile" },
"image": "holdenk/scalingpythonexamples-cs",
"overrideCommand": true,
// Forward Jupyter port locally, mark required
"forwardPorts": [8888],
"portsAttributes": {
"8888": {
"label": "Jupyter",
"requireLocalPort": true,
"onAutoForward": "notify"
}
},
// Set *default* container specific settings.json values on container create.
"settings": {
"python.pythonPath": "/opt/conda/bin/python",
"condaPath": "/opt/conda/bin/conda",
"terminal.integrated.inheritEnv": false
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"ms-python.python"
],
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "pip3 install --user -r requirements.txt",
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "jovyan"
}