Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -39,7 +39,7 @@ RUN npm install -g openclaw@latest agent-browser pdfnano
|
|
| 39 |
|
| 40 |
# Force patch Telegram API URL using environment variable
|
| 41 |
RUN echo "TELEGRAM_BOT_APIBASE=$TELEGRAM_BOT_APIBASE"
|
| 42 |
-
RUN find /usr/local/lib/node_modules/openclaw
|
| 43 |
|
| 44 |
# 3. Install Hugging Face Hub (Python)
|
| 45 |
RUN pip3 install --no-cache-dir --break-system-packages huggingface_hub
|
|
|
|
| 39 |
|
| 40 |
# Force patch Telegram API URL using environment variable
|
| 41 |
RUN echo "TELEGRAM_BOT_APIBASE=$TELEGRAM_BOT_APIBASE"
|
| 42 |
+
RUN find /usr/local/lib/node_modules/openclaw -type f -name "*.js" -exec sed -i "s|api.telegram.org|${TELEGRAM_BOT_APIBASE}|g" {} +
|
| 43 |
|
| 44 |
# 3. Install Hugging Face Hub (Python)
|
| 45 |
RUN pip3 install --no-cache-dir --break-system-packages huggingface_hub
|