Skip to content

Commit

Permalink
Create devcontainer.json (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaid-maker authored Dec 12, 2023
2 parents 29f309f + b6f62c8 commit e4c42c0
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"image": "mcr.microsoft.com/devcontainers/javascript-node:dev-18-bookworm",
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {}
},
"updateContentCommand": "npm ci",
"postCreateCommand": "",
"postAttachCommand": {
"open-port": "gh codespace ports visibility 3000:public -c $CODESPACE_NAME",
"dev": "npm run dev"
},
"customizations": {
"vscode": {
"extensions": [
"esbenp.prettier-vscode",
"GitHub.vscode-github-actions",
"bradlc.vscode-tailwindcss"
]
}
},
"forwardPorts": [3000]
}

0 comments on commit e4c42c0

Please sign in to comment.