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.

Add gmpy2 dependencies packages (#2216)

takatostc038040e1baa
diff --git a/api/Dockerfile b/api/Dockerfile
index 5114eeb2424..678416f1136 100644
--- a/api/Dockerfile
+++ b/api/Dockerfile
@@ -7,7 +7,7 @@ LABEL maintainer="[email protected]"
FROM base as packages
RUN apt-get update \
- && apt-get install -y --no-install-recommends gcc g++ libc-dev libffi-dev
+ && apt-get install -y --no-install-recommends gcc g++ libc-dev libffi-dev libgmp-dev libmpfr-dev libmpc-dev
COPY requirements.txt /requirements.txt
@@ -32,7 +32,7 @@ ENV TZ UTC
WORKDIR /app/api
RUN apt-get update \
- && apt-get install -y --no-install-recommends curl wget vim nodejs ffmpeg \
+ && apt-get install -y --no-install-recommends curl wget vim nodejs ffmpeg libgmp-dev libmpfr-dev libmpc-dev \
&& apt-get autoremove \
&& rm -rf /var/lib/apt/lists/*