-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.devcontainer.json
More file actions
34 lines (31 loc) · 1.32 KB
/
.devcontainer.json
File metadata and controls
34 lines (31 loc) · 1.32 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
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/python
{
"name": "Architecture Site Python Dev Container",
"image": "mcr.microsoft.com/devcontainers/python:3.13-bookworm",
"features": {
"ghcr.io/va-h/devcontainers-features/uv:1": {},
"ghcr.io/guiyomh/features/just:0": {},
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [8000],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "bash -i -c 'nvm install --lts && npm install markdownlint-cli2 && just sync'",
// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
"DavidAnson.vscode-markdownlint",
"streetsidesoftware.code-spell-checker",
"bierner.markdown-mermaid",
"redhat.vscode-yaml",
"tamasfe.even-better-toml",
"nefrob.vscode-just"
],
"settings": {
"editor.rulers": [80, 120] // Add a vertical ruler at the 80 and 120 characters
}
}
}
}