UNPKG

recoder-code

Version:

🚀 AI-powered development platform - Chat with 32+ models, build projects, automate workflows. Free models included!

73 lines • 2.25 kB
{ "name": "Recoder Code Development Container", "build": { "dockerfile": "Dockerfile", "args": { "TZ": "${localEnv:TZ:America/Los_Angeles}", "RECODER_VERSION": "latest", "NODE_VERSION": "20" } }, "runArgs": [ "--cap-add=NET_ADMIN", "--cap-add=NET_RAW" ], "customizations": { "vscode": { "extensions": [ "dbaeumer.vscode-eslint", "esbenp.prettier-vscode", "eamodio.gitlens", "ms-vscode.vscode-typescript-next", "bradlc.vscode-tailwindcss" ], "settings": { "editor.formatOnSave": true, "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.codeActionsOnSave": { "source.fixAll.eslint": "explicit" }, "terminal.integrated.defaultProfile.linux": "zsh", "terminal.integrated.profiles.linux": { "bash": { "path": "bash", "icon": "terminal-bash" }, "zsh": { "path": "zsh" } }, "terminal.integrated.env.linux": { "OPENROUTER_API_KEY": "${localEnv:OPENROUTER_API_KEY}", "RECODER_DEBUG": "true" } } } }, "remoteUser": "node", "mounts": [ "source=recoder-bashhistory-${devcontainerId},target=/commandhistory,type=volume", "source=recoder-config-${devcontainerId},target=/home/node/.recoder,type=volume" ], "containerEnv": { "NODE_OPTIONS": "--max-old-space-size=4096", "RECODER_CONFIG_DIR": "/home/node/.recoder", "OPENROUTER_API_KEY": "${localEnv:OPENROUTER_API_KEY}", "PATH": "/usr/local/bin:${containerEnv:PATH}" }, "workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=delegated", "workspaceFolder": "/workspace", "postCreateCommand": "npm install -g . && echo 'Recoder Code installed globally!'", "postStartCommand": "echo 'Recoder Code development environment ready!'", "features": { "ghcr.io/devcontainers/features/node:1": { "version": "20" }, "ghcr.io/devcontainers/features/git:1": {}, "ghcr.io/devcontainers/features/common-utils:2": { "installZsh": true, "configureZshAsDefaultShell": true, "installOhMyZsh": true } } }