astro/.devcontainer/blog/devcontainer.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
661 B
JSON
Raw Normal View History

{
"name": "Blog",
2023-02-23 15:36:28 +00:00
"build": {
"dockerfile": "../examples.Dockerfile"
},
2023-02-23 15:36:28 +00:00
"workspaceFolder": "/workspaces/astro/examples/blog",
2023-02-23 15:36:28 +00:00
"portsAttributes": {
"4321": {
2023-02-23 15:36:28 +00:00
"label": "Application",
"onAutoForward": "openPreview"
}
},
"forwardPorts": [4321],
2023-02-23 15:36:28 +00:00
"postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build",
"waitFor": "postCreateCommand",
"postAttachCommand": {
"Server": "pnpm start --host"
},
"customizations": {
"codespaces": {
"openFiles": ["src/pages/index.astro"]
},
2023-02-23 15:36:28 +00:00
"vscode": {
"extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"]
}
}
2023-02-23 15:36:28 +00:00
}