Update Dockerfile
Browse files- Dockerfile +5 -4
Dockerfile
CHANGED
|
@@ -1,4 +1,3 @@
|
|
| 1 |
-
|
| 2 |
FROM docker.io/library/ubuntu:24.04
|
| 3 |
|
| 4 |
ENV DEBIAN_FRONTEND=noninteractive
|
|
@@ -16,9 +15,10 @@ RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
|
|
| 16 |
# 安装 openclaw
|
| 17 |
RUN npm install -g openclaw@latest
|
| 18 |
|
| 19 |
-
# 🔧 关键修改:安装微信插件
|
| 20 |
-
RUN
|
| 21 |
-
|
|
|
|
| 22 |
|
| 23 |
RUN pip3 install --break-system-packages huggingface_hub -q
|
| 24 |
|
|
@@ -204,3 +204,4 @@ EXPOSE 7860
|
|
| 204 |
ENTRYPOINT ["/scripts/openclaw-entrypoint.sh"]
|
| 205 |
|
| 206 |
|
|
|
|
|
|
|
|
|
| 1 |
FROM docker.io/library/ubuntu:24.04
|
| 2 |
|
| 3 |
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
| 15 |
# 安装 openclaw
|
| 16 |
RUN npm install -g openclaw@latest
|
| 17 |
|
| 18 |
+
# 🔧 关键修改:在 openclaw 的 node_modules 里安装微信插件
|
| 19 |
+
RUN OPENCLAW_PATH=$(npm root -g)/openclaw && \
|
| 20 |
+
cd ${OPENCLAW_PATH} && \
|
| 21 |
+
npm install @tencent-weixin/openclaw-weixin
|
| 22 |
|
| 23 |
RUN pip3 install --break-system-packages huggingface_hub -q
|
| 24 |
|
|
|
|
| 204 |
ENTRYPOINT ["/scripts/openclaw-entrypoint.sh"]
|
| 205 |
|
| 206 |
|
| 207 |
+
|