69 lines
2.6 KiB
JSON
69 lines
2.6 KiB
JSON
{
|
|
"name": "dev-python313",
|
|
"build": {
|
|
"dockerfile": "Dockerfile"
|
|
},
|
|
"workspaceFolder": "/workspace",
|
|
"remoteUser": "vscode",
|
|
"updateRemoteUserUID": true,
|
|
"runArgs": [
|
|
"--group-add=1000"
|
|
],
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"ms-python.python",
|
|
"ms-python.vscode-pylance",
|
|
"ms-toolsai.jupyter",
|
|
"ms-python.black-formatter",
|
|
"charliermarsh.ruff",
|
|
"codezombiech.gitignore",
|
|
"davidanson.vscode-markdownlint",
|
|
"ms-azuretools.vscode-docker",
|
|
"openai.chatgpt",
|
|
"continue.continue"
|
|
],
|
|
"settings": {
|
|
"python.formatting.provider": "black",
|
|
"python.analysis.extraPaths": [
|
|
"${workspaceFolder}/app"
|
|
],
|
|
"python.analysis.typeCheckingMode": "basic",
|
|
"python.analysis.diagnosticMode": "workspace",
|
|
"editor.formatOnSave": true,
|
|
"python.terminal.activateEnvironment": true,
|
|
"python.defaultInterpreterPath": "/workspace/.venv/bin/python",
|
|
"remote.restoreForwardedPorts": false,
|
|
"remote.autoForwardPortsSource": "output",
|
|
"debug.javascript.autoAttachFilter": "disabled",
|
|
"terminal.integrated.env.linux": {
|
|
"VIRTUAL_ENV": "/workspace/.venv",
|
|
"PATH": "/workspace/.venv/bin:${env:PATH}"
|
|
},
|
|
"terminal.integrated.defaultProfile.linux": "dev-python313 venv",
|
|
"terminal.integrated.profiles.linux": {
|
|
"DocExtractor venv": {
|
|
"path": "bash",
|
|
"args": [
|
|
"--rcfile",
|
|
"/workspace/.devcontainer/bashrc"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"mounts": [
|
|
"source=${localWorkspaceFolder},target=/workspace,type=bind",
|
|
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind",
|
|
"source=/home/jojo/.devcontainer-home,target=/home/vscode,type=bind"
|
|
],
|
|
"postCreateCommand": "bash .devcontainer/post_create.sh",
|
|
"postStartCommand": "bash .devcontainer/post_start.sh",
|
|
"forwardPorts": [],
|
|
"portsAttributes": {
|
|
"*": {
|
|
"onAutoForward": "ignore"
|
|
}
|
|
}
|
|
} |