Files
leptos-book/.devcontainer/devcontainer.json
Jedd Dryden 0b2d6a9c23 Dev Container Implementation and README.md Updates (#47)
* Implemented Dev Container

* Added extra extensions

* Improved `README.md`

* Typo

* Update .devcontainer/Dockerfile

Co-authored-by: Toby Scott <hi@tobyscott.dev>

* Update README.md

Co-authored-by: Toby Scott <hi@tobyscott.dev>

* Update README.md

Co-authored-by: Toby Scott <hi@tobyscott.dev>

* Update README.md

Co-authored-by: Toby Scott <hi@tobyscott.dev>

* Update README.md

Co-authored-by: Toby Scott <hi@tobyscott.dev>

* Update README.md

Co-authored-by: Toby Scott <hi@tobyscott.dev>

* Update Dockerfile

---------

Co-authored-by: Toby Scott <hi@tobyscott.dev>
2024-02-13 15:06:42 -08:00

41 lines
1.1 KiB
JSON

{
"name": "Leptos Book",
"dockerComposeFile": ["docker-compose.yml"],
"service": "devcontainer",
"workspaceFolder": "/repository",
"shutdownAction": "stopCompose",
"initializeCommand": "echo 'Starting devcontainer...'",
"forwardPorts": ["book:3000"],
"customizations": {
"vscode": {
"extensions": [
// Docker
"ms-azuretools.vscode-docker",
// Copilot
"github.copilot",
"github.copilot-chat",
// Github
"github.vscode-pull-request-github",
// Prettier
"esbenp.prettier-vscode",
// Rust
"rust-lang.rust-analyzer",
"vadimcn.vscode-lldb",
// TOML Highlighting
"tamasfe.even-better-toml",
// Markdown Tools
"yzhang.markdown-all-in-one"
],
"settings": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
"editor.tabSize": 4
}
}
},
"mounts": [
"source=/var/run/docker.sock,target=/var/run/docker-host.sock,type=bind"
]
}