Skip to content

Instantly share code, notes, and snippets.

@anoopt
Created October 9, 2020 10:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anoopt/3fcb409dbdab2b19f919aa454f13842a to your computer and use it in GitHub Desktop.
Save anoopt/3fcb409dbdab2b19f919aa454f13842a to your computer and use it in GitHub Desktop.
Devcontainer.json file needed for GitHub codespaces SPFx develoment
{
"name": "SPFx",
"build": {
"dockerfile": "Dockerfile"
},
// Set *default* container specific settings.json values on container create.
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"dbaeumer.vscode-eslint",
"ms-vscode.vscode-typescript-tslint-plugin"
],
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [4321, 5432, 35729]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment