-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
33 lines (33 loc) · 1.02 KB
/
devcontainer.json
File metadata and controls
33 lines (33 loc) · 1.02 KB
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": "open-pulse-crawler-dev",
"dockerComposeFile": "docker-compose.yml",
"service": "devcontainer",
"workspaceFolder": "/workspaces/project",
"containerEnv": {
"UV_CACHE_DIR": "/workspaces/project/.uv-cache"
},
"overrideCommand": false,
"features": {
"ghcr.io/devcontainers/features/sshd:1": {
"version": "latest"
}
},
"remoteUser": "vscode",
"customizations": {
"vscode": {
"settings": {
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python",
"python.envFile": "${workspaceFolder}/.env"
},
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"tamasfe.even-better-toml",
"github.copilot",
"github.copilot-chat"
]
}
},
"postCreateCommand": "mkdir -p .uv-cache && rm -rf .venv && uv venv && uv pip install -e .[dev] && echo '. $PWD/.venv/bin/activate' >> /home/vscode/.bashrc",
"postStartCommand": "bash .devcontainer/set-vscode-password.sh"
}