From 32a4623fd4f15b324aaa3d3a43e43c2ff88a36d8 Mon Sep 17 00:00:00 2001 From: Dominik Oswald <6849456+d-oit@users.noreply.github.com> Date: Thu, 20 Aug 2026 10:58:47 +0000 Subject: [PATCH 1/2] add devcontainer --- .devcontainer/devcontainer.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..c68e9870 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,18 @@ +{ + "$schema": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainer.schema.json", + "name": "do-knowledge-studio", + "image": "mcr.microsoft.com/devcontainers/javascript-node:1-22-bookworm", + "customizations": { + "vscode": { + "extensions": [] + } + }, + "postCreateCommand": "corepack enable && corepack prepare pnpm@10.30.3 --activate && pnpm install --frozen-lockfile", + "forwardPorts": [3000], + "portsAttributes": { + "3000": { + "label": "Next.js development server", + "onAutoForward": "notify" + } + } +} From f4ca691876951a5f9b2bddd31d699098bd1dd5bf Mon Sep 17 00:00:00 2001 From: Dominik Oswald <6849456+d-oit@users.noreply.github.com> Date: Thu, 20 Aug 2026 11:03:04 +0000 Subject: [PATCH 2/2] devcontainer --- .devcontainer/devcontainer.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index c68e9870..395adece 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -2,12 +2,15 @@ "$schema": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainer.schema.json", "name": "do-knowledge-studio", "image": "mcr.microsoft.com/devcontainers/javascript-node:1-22-bookworm", + "features": { + "ghcr.io/devcontainers/features/github-cli:1": {} + }, "customizations": { "vscode": { "extensions": [] } }, - "postCreateCommand": "corepack enable && corepack prepare pnpm@10.30.3 --activate && pnpm install --frozen-lockfile", + "postCreateCommand": "corepack install --global pnpm@10.30.3 && pnpm install --frozen-lockfile", "forwardPorts": [3000], "portsAttributes": { "3000": { @@ -15,4 +18,4 @@ "onAutoForward": "notify" } } -} +} \ No newline at end of file