codespaces-rails/.devcontainer/devcontainer.json
Josh Abernathy b0008d044d
Stop using local cache
`bundle install` time doesn't terribly matter since we're using prebuilds and this way we can bump dependencies without needing to to `bundle cache` again.
2022-12-08 13:43:40 +00:00

31 lines
607 B
JSON

{
"image": "mcr.microsoft.com/devcontainers/universal:2",
"hostRequirements": {
"cpus": 4
},
"waitFor": "onCreateCommand",
"updateContentCommand": "bundle install",
"postCreateCommand": "",
"postAttachCommand": {
"server": "rails server"
},
"customizations": {
"codespaces": {
"openFiles": [
"app/views/hello/index.html.erb"
]
},
"vscode": {
"extensions": [
"rebornix.Ruby"
]
}
},
"portsAttributes": {
"3000": {
"label": "Application",
"onAutoForward": "openPreview"
}
},
"forwardPorts": [3000]
}