|
| 1 | +// For format details, see https://aka.ms/devcontainer.json. For config options, see the |
| 2 | +// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node |
| 3 | +{ |
| 4 | + "name": "Node.js", |
| 5 | + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile |
| 6 | + "image": "mcr.microsoft.com/devcontainers/javascript-node:1-22-bookworm", |
| 7 | + "features": { |
| 8 | + "ghcr.io/devcontainers-extra/features/asdf-package:1": {}, |
| 9 | + "ghcr.io/devcontainers/features/github-cli:1": {}, |
| 10 | + "ghcr.io/joshuanianji/devcontainer-features/github-cli-persistence:1": {}, |
| 11 | + "ghcr.io/joshuanianji/devcontainer-features/mount-pnpm-store:1": {} |
| 12 | + }, |
| 13 | + "customizations": { |
| 14 | + "vscode": { |
| 15 | + "extensions": [ |
| 16 | + "elmTooling.elm-ls-vscode" |
| 17 | + ], |
| 18 | + "settings": { |
| 19 | + "elmLS.elmPath": "lamdera", |
| 20 | + "elmLS.onlyUpdateDiagnosticsOnSave": true |
| 21 | + } |
| 22 | + } |
| 23 | + }, |
| 24 | + |
| 25 | + // Features to add to the dev container. More info: https://containers.dev/features. |
| 26 | + // "features": {}, |
| 27 | + |
| 28 | + // Use 'forwardPorts' to make a list of ports inside the container available locally. |
| 29 | + "forwardPorts": [1234, 3000], |
| 30 | + |
| 31 | + // Use 'postCreateCommand' to run commands after the container is created. |
| 32 | + // "postCreateCommand": "yarn install", |
| 33 | + |
| 34 | + // Configure tool-specific properties. |
| 35 | + // "customizations": {}, |
| 36 | + |
| 37 | + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. |
| 38 | + // "remoteUser": "root" |
| 39 | +} |
0 commit comments