Add devcontainer with Node.js 22 and Bun

Installs dependencies for both root and example/ on container creation.

Co-authored-by: Ona <no-reply@ona.com>
This commit is contained in:
2026-02-28 01:03:04 +00:00
parent b9e45afea0
commit 0a1a4fbf09
2 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
{
"name": "jrx",
"build": {
"context": ".",
"dockerfile": "Dockerfile"
},
"features": {
"ghcr.io/devcontainers/features/node:1": {
"version": "22"
},
"ghcr.io/nickvdyck/devcontainer-features/bun:1": {}
},
"postCreateCommand": "bun install && cd example && bun install"
}