JiuwenSwarm is an intelligent AI Agent built on openJiuwen. It extends the powerful capabilities of large language models directly to your fingertips through various communication apps you use daily.
Python
chore(docker): 以最小改动提升 Dockerfile 构建稳定性
luojiyin877c4c25a12eaa
diff --git a/docker/Dockerfile.claw b/docker/Dockerfile.clawindex 5580f3b703..93fceb85ce 100644--- a/docker/Dockerfile.claw+++ b/docker/Dockerfile.claw@@ -1,4 +1,4 @@-ARG BASE_IMAGE+ARG BASE_IMAGE=python:3.11.4-slim-bookwormFROM ${BASE_IMAGE}# Create app user and set up working directory@@ -6,8 +6,7 @@ RUN useradd --create-home --shell /bin/bash appRUN mkdir -p /app# Copy project files-COPY . /app/jiuwenclaw/-RUN chown -R app:app /app+COPY --chown=app:app . /app/jiuwenclaw/USER app@@ -18,13 +17,14 @@ RUN npm run build# Install server dependenciesWORKDIR /app/jiuwenclaw+ENV PATH=$PATH:/home/app/.local/binRUN sed -i '/--host/ s/default="localhost"/default="0.0.0.0"/' /app/jiuwenclaw/jiuwenclaw/app_web.py-RUN pip install -e ".[all]" --no-cache-dir+RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -e ".[all]" --no-cache-dir+-ENV PATH=$PATH:/home/app/.local/bin# Initialize claw configuration (skip language selection with empty input)-RUN jiuwenclaw-init+RUN printf 'yes\n' | jiuwenclaw-init# Start claw appEXPOSE 5173