feat: optimize dev cont

This commit is contained in:
George Cushen committed 2025-12-10 01:28:09 +00:00
1 parent 38f176a759
commit f6cbe6ccff
9 files changed
+259 -86

No files matched your search

@@ -1,12 +1,8 @@
{
"image": "mcr.microsoft.com/devcontainers/go:1",
"features": {
"ghcr.io/devcontainers/features/hugo:1": {
"extended": true,
"version": "0.152.2"
},
"ghcr.io/devcontainers/features/node:1": {}
},
"name": "HugoBlox Codespace",
"image": "ghcr.io/HugoBlox/hugo-blox-dev:hugo0.152.2",
"updateContentCommand": "pnpm install --frozen-lockfile --prefer-offline",
"postCreateCommand": "pnpm --version && hugo version",
"customizations": {
"vscode": {
"extensions": [
@@ -14,9 +10,16 @@
]
}
},
"postCreateCommand": "pnpm install --no-frozen-lockfile && hugo --logLevel debug && pnpm dlx pagefind --source 'public' --verbose",
"postAttachCommand": "(code --command workbench.view.extension.hugoblox-studio || true)",
"mounts": [
"source=pnpm-store,target=/home/vscode/.local/share/pnpm,type=volume"
],
"remoteUser": "vscode",
"forwardPorts": [
1313
]
}
],
"portsAttributes": {
"1313": {
"label": "Hugo Server"
}
}
}