Files
Hanzo Dev c3efd3a149 feat: Add new Dockerfiles and improve containerization
- Add main Dockerfile for production builds
- Add Dockerfile.runtime for secure code execution
- Add Dockerfile.runtime.fixed with improved configuration
- Include .dockerignore for build optimization
- Add integration documentation and publishing guides
- Update API and CLI components for better runtime support
- Enhance sandbox and container management features
2025-08-16 23:03:39 -05:00

76 lines
2.5 KiB
JSON

{
"name": "Runtime",
"dockerComposeFile": "docker-compose.yaml",
"service": "app",
"workspaceFolder": "/workspaces/runtime",
// Configure tool-specific properties.
"containerEnv": {
"COREPACK_ENABLE_DOWNLOAD_PROMPT": "0"
},
"remoteEnv": {
"NX_DAEMON": "true",
"NODE_ENV": "development",
"POETRY_VIRTUALENVS_IN_PROJECT": "true"
},
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"nrwl.angular-console",
"astro-build.astro-vscode",
"unifiedjs.vscode-mdx",
"timonwong.shellcheck",
"foxundermoon.shell-format",
"cschlosser.doxdocgen",
"ms-python.python",
"ms-toolsai.jupyter",
"bradlc.vscode-tailwindcss"
],
"settings": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"python.defaultInterpreterPath": "${containerWorkspaceFolder}/.venv/bin/python",
"python.terminal.activateEnvironment": true,
"python.terminal.activateEnvInCurrentTerminal": true
}
}
},
"features": {
"ghcr.io/devcontainers/features/common-utils:2.5.3": {
"installZsh": "true",
"username": "runtime",
"uid": "1000",
"gid": "1000",
"upgradePackages": "false"
},
"ghcr.io/devcontainers/features/docker-in-docker:2.12.2": {
"version": "24.0.7",
"moby": false,
"dockerDashComposeVersion": "v2"
},
"ghcr.io/devcontainers/features/go:1.3.2": {
"version": "1.23.5",
"golangciLintVersion": "1.63.4"
},
"ghcr.io/devcontainers/features/node:1.6.2": {
"version": "22.14.0",
"installYarnUsingApt": false
},
"./tools-feature": {
"pipPackages": ["poetry==2.1.3"],
"goTools": ["github.com/swaggo/swag/cmd/swag@v1.16.4", "github.com/mitranim/gow@latest"]
}
},
"onCreateCommand": {
// "install-deps": "git config --global --add safe.directory ${containerWorkspaceFolder} && yarn",
"env": "test -f .env.local || touch .env.local"
},
"postStartCommand": "yarn && poetry lock && poetry install",
"postAttachCommand": "",
"forwardPorts": [5556, "pgadmin:80", "registry-ui:5100", "maildev:1080", "minio:9000", "minio:9001", "jaeger:16686"],
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "runtime"
}