diff --git a/deploy/Dockerfile b/deploy/Dockerfile index f47f986bb..3d22f0d85 100644 --- a/deploy/Dockerfile +++ b/deploy/Dockerfile @@ -41,6 +41,8 @@ RUN apt-get update && apt-get install -y --fix-missing \ dbus-x11 \ fonts-wqy-zenhei \ fonts-wqy-microhei \ + poppler-utils \ + libreoffice \ && rm -rf /var/lib/apt/lists/* \ && apt-get clean @@ -84,7 +86,7 @@ COPY pyproject.toml setup.py README.md ./ COPY src ./src # Inject console dist from build stage (repo does not commit dist). COPY --from=console-builder /app/console/dist/ ./src/copaw/console/ -RUN pip install --no-cache-dir . +RUN pip install --no-cache-dir '.[full]' # Init working dir with default config.json and HEARTBEAT.md (build time). RUN copaw init --defaults --accept-security diff --git a/pyproject.toml b/pyproject.toml index 6933ca12c..306c32390 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,6 +29,14 @@ dependencies = [ "paho-mqtt>=2.0.0", "wecom-aibot-sdk @ https://agentscope.oss-cn-zhangjiakou.aliyuncs.com/pre_whl/wecom_aibot_sdk-1.0.0-py3-none-any.whl", "matrix-nio>=0.24.0", + "defusedxml>=0.7.1", + "lxml>=5.0.0", + "openpyxl>=3.1.0", + "pdf2image>=1.16.0", + "pdfplumber>=0.10.0", + "pypdf>=4.0.0", + "python-frontmatter>=1.1.0", + "PyYAML>=6.0.0", "google-genai>=1.67.0", "tzdata>=2024.1", ]