{
  // Realistic Python project devcontainer
  "build": {
    "dockerfile": "Dockerfile",
    "args": {
      "PYTHON_VERSION": "3.12"
    }
  },
  "containerEnv": {
    "PYTHONDONTWRITEBYTECODE": "1",
    "PYTHONUNBUFFERED": "1",
    "PIP_NO_CACHE_DIR": "1"
  },
  "remoteEnv": {
    "PYTHONPATH": "${containerWorkspaceFolder}/src",
    "PYTHONUNBUFFERED": "yes"
  },
  "remoteUser": "developer",
  "forwardPorts": [8000, 5432],
  "onCreateCommand": "pip install -r requirements.txt",
  "postCreateCommand": "python manage.py migrate",
  "postStartCommand": "python manage.py runserver 0.0.0.0:8000",
}
