File size: 848 Bytes
26b6d93
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
  "name": "DepthForge (CPU dev)",
  "image": "mcr.microsoft.com/devcontainers/python:3.11",
  "features": {
    "ghcr.io/devcontainers/features/git:1": {}
  },
  "onCreateCommand": "sudo apt-get update && sudo apt-get install -y libgl1 libglib2.0-0",
  "postCreateCommand": "bash .devcontainer/setup.sh",
  "forwardPorts": [7860],
  "portsAttributes": {
    "7860": {
      "label": "DepthForge (Gradio)",
      "onAutoForward": "openBrowser"
    }
  },
  "containerEnv": {
    "GRADIO_SERVER_NAME": "0.0.0.0"
  },
  "customizations": {
    "vscode": {
      "extensions": [
        "ms-python.python",
        "ms-python.vscode-pylance"
      ],
      "settings": {
        "python.defaultInterpreterPath": "/usr/local/bin/python",
        "python.testing.pytestEnabled": true,
        "python.testing.pytestArgs": ["tests"]
      }
    }
  }
}