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.

feat: add bash before entrypoint.sh in Dockerfile (#592)

John Wangb0091452ca5c
diff --git a/api/Dockerfile b/api/Dockerfile
index 0fe77549575..eab133aaa98 100644
--- a/api/Dockerfile
+++ b/api/Dockerfile
@@ -27,4 +27,4 @@ RUN chmod +x /entrypoint.sh
ARG COMMIT_SHA
ENV COMMIT_SHA ${COMMIT_SHA}
-ENTRYPOINT ["/entrypoint.sh"]
\ No newline at end of file
+ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]
\ No newline at end of file
diff --git a/web/Dockerfile b/web/Dockerfile
index fcd8315cd9c..92a4ae6f4b0 100644
--- a/web/Dockerfile
+++ b/web/Dockerfile
@@ -26,4 +26,4 @@ RUN chmod +x /entrypoint.sh
ARG COMMIT_SHA
ENV COMMIT_SHA ${COMMIT_SHA}
-ENTRYPOINT ["/entrypoint.sh"]
+ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]