@@ -34,6 +34,8 @@ RUN apt-get update && \
# 验证 node/npm(可选)
RUN node -v && npm -v
+RUN npm install -g jsdom canvas
+
# 安装 Python 依赖
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt