-
Notifications
You must be signed in to change notification settings - Fork 69
Expand file tree
/
Copy pathdevcontainer.json
More file actions
58 lines (58 loc) · 1.81 KB
/
devcontainer.json
File metadata and controls
58 lines (58 loc) · 1.81 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"name": "uv",
"dockerComposeFile": "../.devcontainer/docker-compose.yml",
"service": "vscode",
"runServices": [
"vscode"
],
"remoteUser": "vscode",
"workspaceFolder": "/workspace",
"mounts": [
{
"source": "cache-${devcontainerId}",
"target": "/home/${remoteUser}/.cache",
"type": "volume"
},
{
"source": "${localEnv:HOME}/.ssh",
"target": "/home/${remoteUser}/.ssh",
"type": "bind"
},
{
"source": "venv-${devcontainerId}",
"target": "${containerWorkspaceFolder}/.venv",
"type": "volume"
}
],
"features": {
"ghcr.io/dhoeric/features/hadolint:1": {}
},
"customizations": {
"vscode": {
"extensions": [
"astral-sh.ty",
"charliermarsh.ruff",
"exiasr.hadolint",
"kevinrose.vsc-python-indent",
"mosapride.zenkaku",
"ms-azuretools.vscode-docker",
"ms-python.python",
"ms-toolsai.jupyter",
"njpwerner.autodocstring",
"redhat.vscode-yaml",
"shardulm94.trailing-spaces",
"sqlfluff.vscode-sqlfluff",
"streetsidesoftware.code-spell-checker",
"tamasfe.even-better-toml",
"yzhang.markdown-all-in-one"
]
}
},
"containerEnv": {
"DISPLAY": "dummy",
"UV_PROJECT_ENVIRONMENT": "${containerWorkspaceFolder}/.venv"
},
"updateContentCommand": "sudo chown -R vscode /home/vscode/.cache /home/vscode/.ssh ${containerWorkspaceFolder}/.venv",
"postCreateCommand": "uv sync --frozen",
"postStartCommand": "uv run pre-commit install"
}