{ "name": "ai-agent-dev", "build": { "dockerfile": "Dockerfile" }, // This is where your repo will be mounted inside the container "remoteUser": "vscode", "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}", "customizations": { "vscode": { "settings": { "python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python", "python.envFile": "${workspaceFolder}/.env" }, "extensions": [ "ms-python.python", "ms-python.vscode-pylance", "tamasfe.even-better-toml" ] } }, "forwardPorts": [7860], // Install project in editable mode after the container is built "postCreateCommand": "rm -rf .venv && uv venv && uv pip install -e . && echo '. $PWD/.venv/bin/activate' >> /home/vscode/.bashrc" }