25 строки
857 B
JSON
25 строки
857 B
JSON
// 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.222.0/containers/python-3-miniconda
|
|
{
|
|
"name": "Miniconda (Python 3)",
|
|
"build": {
|
|
"context": "..",
|
|
"dockerfile": "Dockerfile",
|
|
},
|
|
// Set *default* container specific settings.json values on container create.
|
|
"settings": {
|
|
"python.defaultInterpreterPath": "/opt/conda/bin/python",
|
|
},
|
|
// Add the IDs of extensions you want installed when the container is created.
|
|
"extensions": [
|
|
"ms-python.python",
|
|
"ms-python.vscode-pylance",
|
|
"ms-toolsai.vscode-ai",
|
|
],
|
|
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
|
|
"remoteUser": "vscode",
|
|
"features": {
|
|
"azure-cli": "latest"
|
|
},
|
|
"onCreateCommand": "az extension add -n ml -y"
|
|
} |