diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 000000000..5a07dc2fb --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,22 @@ +{ + "name": "Copilot API Proxy", + "image": "mcr.microsoft.com/devcontainers/javascript-node:20-bookworm", + "forwardPorts": [4141], + "portsAttributes": { + "4141": { + "label": "Copilot API", + "onAutoForward": "notify" + } + }, + "postCreateCommand": "curl -fsSL https://bun.sh/install | bash && export BUN_INSTALL=\"$HOME/.bun\" && export PATH=\"$BUN_INSTALL/bin:$PATH\" && bun install", + "remoteEnv": { + "PATH": "${containerEnv:PATH}:/home/node/.bun/bin" + }, + "customizations": { + "vscode": { + "extensions": [ + "ovyerus.bun-vscode" + ] + } + } +}