// For format details, see https://aka.ms/devcontainer.json. { "name": "Tandoor Dev Container", "build": { "context": "..", "dockerfile": "Dockerfile" }, // Features to add to the dev container. More info: https://containers.dev/features. // "features": {}, // Use 'forwardPorts' to make a list of ports inside the container available locally. "forwardPorts": [8000, 8080], // Use 'postCreateCommand' to run commands after the container is created. // "postCreateCommand": "pip3 install --user -r requirements.txt" // Configure tool-specific properties. "customizations": { "vscode": { "extensions": [ "ms-python.debugpy", "ms-python.python" ] } }, "containerEnv": { "CSRF_TRUSTED_ORIGINS": "http://localhost:8000,http://localhost:8080" } // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. // "remoteUser": "root" }