0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/.devcontainer/docs/devcontainer.json

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

35 lines
666 B
JSON
Raw Normal View History

{
"name": "Docs Site",
2023-02-23 10:36:28 -05:00
"build": {
"dockerfile": "../examples.Dockerfile"
},
2023-02-23 10:36:28 -05:00
"workspaceFolder": "/workspaces/astro/examples/docs",
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/index.astro"]
},
2023-02-23 10:36:28 -05:00
"vscode": {
"extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"]
}
}
2023-02-23 10:36:28 -05:00
}