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.

build: include packages in docker build (#34532)

Stephen Zhoucb9f4bb10078
diff --git a/web/Dockerfile b/web/Dockerfile
index dc234168423..030651bf27a 100644
--- a/web/Dockerfile
+++ b/web/Dockerfile
@@ -25,6 +25,7 @@ COPY package.json pnpm-lock.yaml pnpm-workspace.yaml /app/
COPY web/package.json /app/web/
COPY e2e/package.json /app/e2e/
COPY sdks/nodejs-client/package.json /app/sdks/nodejs-client/
+COPY packages /app/packages
# Use packageManager from package.json
RUN corepack install
diff --git a/web/Dockerfile.dockerignore b/web/Dockerfile.dockerignore
index b572bd863e6..115f4303fa9 100644
--- a/web/Dockerfile.dockerignore
+++ b/web/Dockerfile.dockerignore
@@ -7,6 +7,9 @@
!web/**
!e2e/
!e2e/package.json
+!packages/
+!packages/**/
+!packages/**/package.json
!sdks/
!sdks/nodejs-client/
!sdks/nodejs-client/package.json