2023-02-23 10:34:37 -05:00
|
|
|
{
|
2023-03-02 15:48:37 -05:00
|
|
|
"name": "Hackernews",
|
2023-02-23 10:36:28 -05:00
|
|
|
"build": {
|
|
|
|
"dockerfile": "../examples.Dockerfile"
|
|
|
|
},
|
2023-02-23 10:34:37 -05:00
|
|
|
|
2023-02-23 10:36:28 -05:00
|
|
|
"workspaceFolder": "/workspaces/astro/examples/hackernews",
|
2023-02-23 10:34:37 -05:00
|
|
|
|
2023-02-23 10:36:28 -05:00
|
|
|
"portsAttributes": {
|
|
|
|
"3000": {
|
|
|
|
"label": "Application",
|
|
|
|
"onAutoForward": "openPreview"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"forwardPorts": [3000],
|
|
|
|
|
|
|
|
"postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build",
|
|
|
|
|
|
|
|
"waitFor": "postCreateCommand",
|
|
|
|
|
|
|
|
"postAttachCommand": {
|
|
|
|
"Server": "pnpm start --host"
|
|
|
|
},
|
|
|
|
|
|
|
|
"customizations": {
|
|
|
|
"codespaces": {
|
|
|
|
"openFiles": ["src/pages/[...stories].astro"]
|
2023-02-23 10:34:37 -05:00
|
|
|
},
|
2023-02-23 10:36:28 -05:00
|
|
|
"vscode": {
|
|
|
|
"extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"]
|
2023-02-23 10:34:37 -05:00
|
|
|
}
|
|
|
|
}
|
2023-02-23 10:36:28 -05:00
|
|
|
}
|