microsoft/AI-For-Beginners

Public

mirrored fromhttps://github.com/microsoft/AI-For-BeginnersAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
d20f5c1a431af491240e15b671bd8e2930788117

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.devcontainer/devcontainer.json

49lines · modecode

1{
2 "name": "Miniconda (Python 3)",
3 "build": {
4 "context": "..",
5 "dockerfile": "Dockerfile",
6 "args": {
7 "NODE_VERSION": "lts/*"
8 }
9 },
10
11 "hostRequirements": { "cpus": 4, "memory": "8gb", "storage": "50gb"},
12
13 // Configure tool-specific properties.
14 "customizations": {
15 // Configure properties specific to VS Code.
16 "vscode": {
17 // Set *default* container specific settings.json values on container create.
18 "settings": {
19 "python.defaultInterpreterPath": "/opt/conda/bin/python",
20 "python.linting.enabled": true,
21 "python.linting.pylintEnabled": true,
22 "python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8",
23 "python.formatting.blackPath": "/usr/local/py-utils/bin/black",
24 "python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf",
25 "python.linting.banditPath": "/usr/local/py-utils/bin/bandit",
26 "python.linting.flake8Path": "/usr/local/py-utils/bin/flake8",
27 "python.linting.mypyPath": "/usr/local/py-utils/bin/mypy",
28 "python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle",
29 "python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle",
30 "python.linting.pylintPath": "/usr/local/py-utils/bin/pylint"
31 },
32
33 // Add the IDs of extensions you want installed when the container is created.
34 "extensions": [
35 "ms-python.python",
36 "ms-python.vscode-pylance"
37 ]
38 }
39 },
40
41 // Use 'forwardPorts' to make a list of ports inside the container available locally.
42 // "forwardPorts": [],
43
44 // Use 'postCreateCommand' to run commands after the container is created.
45 // "postCreateCommand": "python --version",
46
47 // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
48 "remoteUser": "vscode"
49}