// For format details, see https://aka.ms/devcontainer.json. For config options, see the // README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile { "name": "Conference Website", "dockerComposeFile": "docker-compose.yml", "service": "app", "workspaceFolder": "/workspace", // Features to add to the dev container. More info: https://containers.dev/features. "features": { // "ghcr.io/devcontainers/features/python:1": { // "installTools": true, // "version": "3.12" // } }, // Use 'forwardPorts' to make a list of ports inside the container available locally. "forwardPorts": [8000], // Uncomment the next line to run commands after the container is created. "postCreateCommand": ".devcontainer/post-create.sh", // Ensure the workspace directory is marked as safe for git operations. "postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}", // Configure tool-specific properties. // "customizations": {}, // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. // NOTE: Need to use "root" when using rootless docker on linux. "remoteUser": "root", "containerUser": "root" }