{ "name": "Laconic Core Development", "image": "mcr.microsoft.com/devcontainers/javascript-node:0-18", // Add environment variables "containerEnv": { "NODE_ENV": "development" }, // Mount your SSH keys for git authentication "mounts": [ "source=${localEnv:HOME}/.ssh,target=/home/node/.ssh,type=bind,readonly" ], "customizations": { "vscode": { "extensions": [ "biomejs.biome", "ms-vscode.vscode-typescript-next", "ms-azuretools.vscode-docker", "dbaeumer.vscode-eslint", "christian-kohler.path-intellisense", "github.vscode-pull-request-github", "streetsidesoftware.code-spell-checker", "eamodio.gitlens" ], "settings": { "editor.defaultFormatter": "biomejs.biome", "editor.formatOnSave": true, "editor.codeActionsOnSave": { "source.organizeImports": "explicit", "source.fixAll": "explicit", "source.addMissingImports.ts": "explicit", "source.fixAll.ts": "explicit", "source.removeUnusedImports": "explicit" }, // Additional helpful settings "editor.bracketPairColorization.enabled": true, "editor.guides.bracketPairs": true, "terminal.integrated.defaultProfile.linux": "bash", "javascript.updateImportsOnFileMove.enabled": "always", "typescript.updateImportsOnFileMove.enabled": "always", "files.exclude": { "**/.git": true, "**/node_modules": true, "**/dist": true } } } }, // Forward common development ports "forwardPorts": [3000, 4000, 5000, 8000], // Set up git configuration "postCreateCommand": "pnpm install && git config --global pull.rebase true", "remoteUser": "node", // Features to install in the container "features": { "ghcr.io/devcontainers/features/github-cli:1": {}, "ghcr.io/devcontainers/features/git:1": {} } }