depthforge / .devcontainer /devcontainer.json
ajju1020's picture
Normalize text files to LF (fix apt packages.txt CRLF build error)
26b6d93 verified
Raw History Blame Contribute Delete
848 Bytes
{
"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"]
}
}
}
}