File size: 1,858 Bytes
82b1bc7 |
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 45 46 47 48 49 50 51 |
{
"name": "Dockerfile",
"context": "..",
"dockerFile": "./Dockerfile",
"postCreateCommand": "chmod +x ./.devcontainer/setup.sh && sh ./.devcontainer/setup.sh",
"runArgs": [
// if you have a GPU, you can use it inside the container
"--gpus=all",
// speeds up pytorch data loading
"--ipc=host"
],
"mounts": [
// important: see respective sections in setup.sh
// uncomment if you want to use your local aws credentials
//"source=${env:HOME}${env:USERPROFILE}/.aws,target=/root/.aws,type=bind",
// uncomment if you want to use the host docker socket inside the container
//"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind"
"source=${env:HOME}${env:USERPROFILE}/.cache/huggingface,target=/home/kitt/.cache/huggingface,type=bind",
"source=${env:HOME}${env:USERPROFILE}/.local/share/tts,target=/home/kitt/.local/share/tts,type=bind"
],
// "remoteUser": "kitt",
"customizations": {
"vscode": {
"extensions": [
// official docker extension to control docker on the host
"ms-azuretools.vscode-docker",
// github copilot
"github.copilot",
// gitlens - helps working in repositories
"eamodio.gitlens",
// python language support
"ms-python.python",
"ms-python.vscode-pylance",
// sort python imports
"ms-python.isort",
// jupyter
"ms-toolsai.jupyter",
"ms-toolsai.vscode-jupyter-cell-tags",
"ms-toolsai.jupyter-renderers",
"ms-toolsai.vscode-jupyter-slideshow",
// autocomplete filenames
"christian-kohler.path-intellisense",
// displays system usage in the bottom tray
"mutantdino.resourcemonitor",
// yaml language support
"redhat.vscode-yaml"
// "add.your.own.favorites",
]
}
}
} |