chore: adding devcontainer config (#155)

This commit is contained in:
Maik Müller 2023-11-29 09:58:38 +01:00 committed by GitHub
parent da4e0be950
commit 2f4e888a93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,22 @@
{
"name": "awesome-mechanical-keyboards",
"image": "mcr.microsoft.com/vscode/devcontainers/base:ubuntu-22.04",
"containerUser": "vscode",
"postCreateCommand": "npm install",
"postStartCommand": "nohup bash -c 'npm run start -- --host 0.0.0.0 &'",
"waitFor": "postCreateCommand",
"forwardPorts": [3000],
"features": {
"node": {
"version": "20"
}
},
"customizations": {
"codespaces": {
"openFiles": ["README.md", "CONTRIBUTING.md"]
},
"vscode": {
"extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"]
}
}
}