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: fix .dockerignore file (#800)

Matri220f7c81e9f3
diff --git a/api/.dockerignore b/api/.dockerignore
index 9b5050396df..0ee003b9123 100644
--- a/api/.dockerignore
+++ b/api/.dockerignore
@@ -1,2 +1,11 @@
.env
-storage/privkeys/*
\ No newline at end of file
+*.env.*
+
+storage/privkeys/*
+
+# Logs
+logs
+*.log*
+
+# jetbrains
+.idea
\ No newline at end of file
diff --git a/web/.dockerignore b/web/.dockerignore
new file mode 100644
index 00000000000..45a8922ce9b
--- /dev/null
+++ b/web/.dockerignore
@@ -0,0 +1,24 @@
+.env
+.env.*
+
+# Logs
+logs
+*.log*
+
+# node
+node_modules
+.husky
+.next
+
+# vscode
+.vscode
+
+# webstorm
+.idea
+*.iml
+*.iws
+*.ipr
+
+
+# Jetbrains
+.idea
\ No newline at end of file