Dmitry Beresnev commited on
Commit ·
d9e0f07
1
Parent(s): 190dfb8
fix dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -11,7 +11,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
| 11 |
git \
|
| 12 |
&& curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
|
| 13 |
&& apt-get install -y --no-install-recommends nodejs \
|
| 14 |
-
&&
|
|
|
|
| 15 |
&& openclaw --help >/dev/null 2>&1 \
|
| 16 |
&& node --version \
|
| 17 |
&& rm -rf /var/lib/apt/lists/*
|
|
@@ -27,7 +28,6 @@ ENV PORT=7860
|
|
| 27 |
ENV OPENCLAW_PORT=8787
|
| 28 |
ENV OPENCLAW_BIN=openclaw
|
| 29 |
ENV VAULT_PATH=/app/vault
|
| 30 |
-
ENV PATH=/root/.local/bin:/root/.openclaw/bin:${PATH}
|
| 31 |
ENV OPENCLAW_HOME=/app/.openclaw
|
| 32 |
ENV OPENCLAW_STATE_DIR=/app/.openclaw/state
|
| 33 |
ENV OPENCLAW_CONFIG_PATH=/app/openclaw.json
|
|
|
|
| 11 |
git \
|
| 12 |
&& curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
|
| 13 |
&& apt-get install -y --no-install-recommends nodejs \
|
| 14 |
+
&& npm install -g openclaw \
|
| 15 |
+
&& command -v openclaw \
|
| 16 |
&& openclaw --help >/dev/null 2>&1 \
|
| 17 |
&& node --version \
|
| 18 |
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
| 28 |
ENV OPENCLAW_PORT=8787
|
| 29 |
ENV OPENCLAW_BIN=openclaw
|
| 30 |
ENV VAULT_PATH=/app/vault
|
|
|
|
| 31 |
ENV OPENCLAW_HOME=/app/.openclaw
|
| 32 |
ENV OPENCLAW_STATE_DIR=/app/.openclaw/state
|
| 33 |
ENV OPENCLAW_CONFIG_PATH=/app/openclaw.json
|