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
|
{
"name": "EinopsDev",
"build": {
"context": "..",
"dockerfile": "./einops.Dockerfile",
"target": "einops-devimage",
},
"runArgs": [
// to use GPUs in container uncomment next line
// "--gpus=all",
"--name=einops-devbox",
],
"shutdownAction": "none",
"postCreateCommand": "uv pip install --system -e . && pre-commit install -f",
"customizations": {
"vscode": {
"settings": {
"python.defaultInterpreterPath": "/opt/venv/bin/python"
},
"extensions": [
"ms-azuretools.vscode-docker",
"ms-python.python",
"ms-python.vscode-pylance",
"ms-python.mypy-type-checker",
"charliermarsh.ruff",
"ms-toolsai.jupyter",
// very optional git-specific stuff
"arturock.gitstash",
"mhutchie.git-graph",
]
}
}
}
|