-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdevcontainer.json
More file actions
31 lines (31 loc) · 913 Bytes
/
devcontainer.json
File metadata and controls
31 lines (31 loc) · 913 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
31
{
"name": "Docusaurus",
"image": "mcr.microsoft.com/devcontainers/typescript-node:24-trixie",
"features": {
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
"moby": false
}
},
"forwardPorts": [3000],
"remoteUser": "node",
"mounts": [
"source=${localWorkspaceFolderBasename}-node_modules,target=${containerWorkspaceFolder}/node_modules,type=volume"
],
"postCreateCommand": "sudo chown node:node node_modules && npm install -g npm@11",
"containerEnv": {
"CI": "true"
},
"postStartCommand": "bash scripts/install-thv.sh && npm install",
"customizations": {
"vscode": {
"extensions": [
"unifiedjs.vscode-mdx",
"esbenp.prettier-vscode",
"davidanson.vscode-markdownlint",
"redhat.vscode-yaml",
"yzhang.markdown-all-in-one",
"bpruitt-goddard.mermaid-markdown-syntax-highlighting"
]
}
}
}