Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
feat: Configure devcontainer with `/tmp` volume mount, `vscode` remote user, and post-start script updates. (#29986)
GuanMu4d8223d5176b
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.jsonindex ddec42e0ee3..3998a69c36a 100644--- a/.devcontainer/devcontainer.json+++ b/.devcontainer/devcontainer.json@@ -6,6 +6,9 @@"context": "..","dockerfile": "Dockerfile"},+ "mounts": [+ "source=dify-dev-tmp,target=/tmp,type=volume"+ ],"features": {"ghcr.io/devcontainers/features/node:1": {"nodeGypDependencies": true,@@ -34,19 +37,13 @@},"postStartCommand": "./.devcontainer/post_start_command.sh","postCreateCommand": "./.devcontainer/post_create_command.sh"-// Features to add to the dev container. More info: https://containers.dev/features.// "features": {},-// Use 'forwardPorts' to make a list of ports inside the container available locally.// "forwardPorts": [],-// Use 'postCreateCommand' to run commands after the container is created.// "postCreateCommand": "python --version",-// Configure tool-specific properties.// "customizations": {},-// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.- // "remoteUser": "root"-}+}\ No newline at end of filediff --git a/.devcontainer/post_create_command.sh b/.devcontainer/post_create_command.shindex ce9135476fa..220f77e5ce4 100755--- a/.devcontainer/post_create_command.sh+++ b/.devcontainer/post_create_command.sh@@ -1,6 +1,7 @@#!/bin/bashWORKSPACE_ROOT=$(pwd)+export COREPACK_ENABLE_DOWNLOAD_PROMPT=0corepack enablecd web && pnpm installpipx install uv