Skip to content

Commit

Permalink
Merge pull request timlrx#959 from abernier/patch-1
Browse files Browse the repository at this point in the history
devcontainer
  • Loading branch information
timlrx authored Jul 10, 2024
2 parents 13563ff + 6a7c551 commit 209a947
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"image": "mcr.microsoft.com/vscode/devcontainers/javascript-node:20",
"hostRequirements": {
"memory": "8gb"
},
"waitFor": "onCreateCommand",
"updateContentCommand": "yarn",
"postCreateCommand": "",
"postAttachCommand": "yarn dev",
"customizations": {
"codespaces": {
"openFiles": ["data/blog/code-sample.mdx"]
},
"vscode": {
"settings": {
"editor.formatOnSave": true
},
"extensions": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"]
}
},
"portsAttributes": {
"3000": {
"label": "Nextjs server",
"onAutoForward": "openPreview"
}
},
"forwardPorts": [3000]
}

0 comments on commit 209a947

Please sign in to comment.