From 5935e79867fef552bdd122c64a69c87bd023db7c Mon Sep 17 00:00:00 2001 From: Asep Haryana Saputra <90584806+MythEclipse@users.noreply.github.com> Date: Thu, 21 May 2026 10:55:01 +0000 Subject: [PATCH] feat(devcontainer): add initial devcontainer configuration for development environment --- .devcontainer/devcontainer.json | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..06e3e2e --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,31 @@ +{ + "name": "bete", + "image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm", + "features": { + "ghcr.io/devcontainers/features/docker-in-docker:3.0.1": { + "version": "latest", + "moby": true, + "dockerDashComposeVersion": "v2" + } + }, + "forwardPorts": [3000, 5173], + "portsAttributes": { + "3000": { + "label": "Bot webserver", + "onAutoForward": "notify" + }, + "5173": { + "label": "Vite dev server", + "onAutoForward": "notify" + } + }, + "postCreateCommand": "corepack enable && pnpm install --no-frozen-lockfile", + "customizations": { + "vscode": { + "extensions": [ + "biomejs.biome", + "ms-azuretools.vscode-docker" + ] + } + } +}