| { | |
| "name": "Python Development", | |
| "image": "mcr.microsoft.com/devcontainers/python:3.11", | |
| "features": { | |
| "ghcr.io/devcontainers/features/node:1": {}, | |
| "ghcr.io/devcontainers/features/docker-in-docker:2": {}, | |
| "ghcr.io/devcontainers/features/github-cli:1": {} | |
| }, | |
| "customizations": { | |
| "vscode": { | |
| "extensions": [ | |
| "ms-python.python", | |
| "ms-python.black-formatter", | |
| "ms-python.isort", | |
| "ms-toolsai.jupyter", | |
| "continue.continue" | |
| ], | |
| "settings": { | |
| "python.defaultInterpreterPath": "/usr/local/bin/python", | |
| "python.linting.enabled": true, | |
| "python.formatting.provider": "black", | |
| "editor.formatOnSave": true | |
| } | |
| } | |
| }, | |
| "postCreateCommand": "pip install --user -r requirements.txt 2>/dev/null || echo 'No requirements.txt found'", | |
| "remoteUser": "vscode", | |
| "forwardPorts": [8000, 3000, 5000, 8080] | |
| } |