astro/.devcontainer/portfolio/devcontainer.json

35 lines
676 B
JSON
Raw Normal View History

{
2023-02-23 15:36:28 +00:00
"name": "Astro Examples",
"build": {
"dockerfile": "../examples.Dockerfile"
},
2023-02-23 15:36:28 +00:00
"workspaceFolder": "/workspaces/astro/examples/portfolio",
2023-02-23 15:36:28 +00: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/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
}