chore: create devcontainer (#4378)

This commit is contained in:
Alexandr Garbuzov
2025-08-24 16:39:57 +03:00
committed by GitHub
parent 0cf6b18fa1
commit ff7e1e283c
+32
View File
@@ -0,0 +1,32 @@
{
"name": "GitHub Readme Stats Dev",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"features": {
"ghcr.io/devcontainers/features/node:1": { "version": "22" }
},
"forwardPorts": [3000],
"portsAttributes": {
"3000": { "label": "HTTP" }
},
"appPort": [],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "npm install -g vercel",
// Use 'postStartCommand' to run commands after the container is started.
"postStartCommand": "hostname dev && npm install",
// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
"yzhang.markdown-all-in-one",
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint"
]
}
},
"remoteUser": "root",
"privileged": true
}