Skip to content

Commit

Permalink
added devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
bpurinton committed Apr 1, 2023
1 parent c403bf8 commit e239369
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/universal
{
"name": "Container",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "bpurinton/string-chapter-codespace-march2023",

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [3000],

"portsAttributes": {
"3000": {
"label": "Application",
"onAutoForward": "openPreview"
}
},

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "bin/setup",

// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": ["vortizhe.simple-ruby-erb",
"mbessey.vscode-rufo",
"aliariff.vscode-erb-beautify"]
}
}

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}

0 comments on commit e239369

Please sign in to comment.