fb5cd6b56d
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
34 lines
680 B
JSON
34 lines
680 B
JSON
{
|
|
"name": "Hackernews",
|
|
"build": {
|
|
"dockerfile": "../examples.Dockerfile"
|
|
},
|
|
|
|
"workspaceFolder": "/workspaces/astro/examples/hackernews",
|
|
|
|
"portsAttributes": {
|
|
"4321": {
|
|
"label": "Application",
|
|
"onAutoForward": "openPreview"
|
|
}
|
|
},
|
|
|
|
"forwardPorts": [4321],
|
|
|
|
"postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build",
|
|
|
|
"waitFor": "postCreateCommand",
|
|
|
|
"postAttachCommand": {
|
|
"Server": "pnpm start --host"
|
|
},
|
|
|
|
"customizations": {
|
|
"codespaces": {
|
|
"openFiles": ["src/pages/[...stories].astro"]
|
|
},
|
|
"vscode": {
|
|
"extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"]
|
|
}
|
|
}
|
|
}
|