/ .devcontainer / devcontainer.json
devcontainer.json
1 { 2 "name": "Github Pages", 3 "image": "mcr.microsoft.com/devcontainers/jekyll:dev-3.4-bookworm", 4 // The port(s) to open from your container. 5 "appPort": [ 6 4000 7 ], 8 // Run bundle install/update on creation; serve on every start. 9 "postCreateCommand": "bash .devcontainer/post-create.sh", 10 "postStartCommand": "bundle exec jekyll serve --watch --incremental --baseurl ''", 11 // Add the IDs of extensions you want installed when the container is created in the array below. 12 "customizations": { 13 "vscode": { 14 "extensions": [ 15 "redhat.vscode-yaml", 16 "sissel.shopify-liquid", 17 "ginfuru.ginfuru-vscode-jekyll-syntax", 18 "ginfuru.vscode-jekyll-snippets", 19 "yzhang.markdown-all-in-one", 20 "davidanson.vscode-markdownlint", 21 "ecmel.vscode-html-css", 22 "aeschli.vscode-css-formatter", 23 "streetsidesoftware.code-spell-checker", 24 "ms-vscode.wordcount", 25 "vsls-contrib.gitdoc" 26 ] 27 } 28 } 29 }