-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathdevcontainer.json
More file actions
30 lines (30 loc) · 920 Bytes
/
devcontainer.json
File metadata and controls
30 lines (30 loc) · 920 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
26
27
28
29
30
{
// To customize this for your local environment without committing changes,
// create a .devcontainer/devcontainer.local.json file (it's gitignored).
// See .devcontainer/README.md for examples.
"name": "toon-python (devcontainer)",
"build": {
"dockerfile": "Dockerfile.dev",
"context": ".."
},
"workspaceFolder": "/app",
"mounts": [
"source=${localWorkspaceFolder},target=/app,type=bind,consistency=cached"
],
"features": {
"ghcr.io/devcontainers/features/git:1": {},
"ghcr.io/devcontainers/features/github-cli:1": {}
},
"remoteEnv": {
// Python environment variables (can be overridden in devcontainer.local.json)
// These supplement the ENV vars set in Dockerfile.dev
},
"postCreateCommand": "uv sync --all-groups",
"customizations": {
"vscode": {
"settings": {
"python.defaultInterpreterPath": "/app/.venv/bin/python"
}
}
}
}