-
Notifications
You must be signed in to change notification settings - Fork 178
Expand file tree
/
Copy pathdevcontainer.json
More file actions
25 lines (25 loc) · 858 Bytes
/
devcontainer.json
File metadata and controls
25 lines (25 loc) · 858 Bytes
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
{
"name": "Rembg-webapp",
"image": "mcr.microsoft.com/devcontainers/python:3.10-bullseye",
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {
},
"ghcr.io/azure/azure-dev/azd:latest": {}
},
"customizations": {
"vscode": {
"extensions": [
"GitHub.vscode-github-actions",
"ms-azuretools.azure-dev",
"ms-azuretools.vscode-bicep",
"ms-azuretools.vscode-docker",
"ms-python.python"
]
}
},
"postCreateCommand": "pip install -r requirements.txt && mkdir /home/vscode/.u2net && wget -O /home/vscode/.u2net/u2net.onnx https://github.com/danielgatis/rembg/releases/download/v0.0.0/u2net.onnx",
"remoteUser": "vscode",
"hostRequirements": {
"memory": "8gb"
}
}