astro/.devcontainer/deno/devcontainer.json

40 lines
790 B
JSON
Raw Normal View History

{
"name": "Astro Examples",
"build": {
"dockerfile": "../examples.deno.Dockerfile"
},
"workspaceFolder": "/workspaces/astro/examples/deno",
"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"
]
},
"vscode": {
"extensions": [
"astro-build.astro-vscode",
"esbenp.prettier-vscode"
]
}
}
}