// For format details, see https://aka.ms/devcontainer.json. { "name": "VS Code Python Dev Container", // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile "build": { "dockerfile": "./Dockerfile", "context": ".." }, "customizations": { "vscode": { "extensions": [ "editorconfig.editorconfig", "esbenp.prettier-vscode", "dbaeumer.vscode-eslint", "ms-python.python", "ms-python.black-formatter", "ms-python.vscode-pylance", "charliermarsh.ruff" ] } }, // Commands to execute on container creation,start. "postCreateCommand": "bash scripts/postCreateCommand.sh", // Environment variable placed inside containerEnv following: https://containers.dev/implementors/json_reference/#general-properties "containerEnv": { "CI_PYTHON_PATH": "/workspaces/vscode-python/.venv/bin/python" } }