Skip to content

armgit / dify

Public Imported from GitHub
0

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.

Added a note on the front-end docker build: use taobao source to accelerate the installation of front-end dependency packages to achieve the purpose of quickly building containers (#3358)

Lao617e7cee8164
diff --git a/web/Dockerfile b/web/Dockerfile
index 5928cc29b0f..175b5916c15 100644
--- a/web/Dockerfile
+++ b/web/Dockerfile
@@ -16,6 +16,11 @@ COPY yarn.lock .
RUN --mount=type=cache,target=/root/.yarn YARN_CACHE_FOLDER=/root/.yarn \
yarn install --frozen-lockfile
+# if you located in China, you can use taobao registry to speed up
+# RUN --mount=type=cache,target=/root/.yarn YARN_CACHE_FOLDER=/root/.yarn \
+# yarn install --frozen-lockfile --registry https://registry.npm.taobao.org/
+
+
# build resources
FROM base as builder