Spaces:
Runtime error
Runtime error
File size: 787 Bytes
37d840d 8acd114 37d840d 8acd114 37d840d 8acd114 37d840d 8acd114 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | FROM node:22-slim
RUN apt-get update && apt-get install -y --no-install-recommends \
git ca-certificates build-essential python3 python3-pip curl jq \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 install --no-cache-dir huggingface_hub --break-system-packages
RUN npm install -g openclaw@latest --unsafe-perm
RUN npx -y @tencent-weixin/openclaw-weixin-cli@latest install
ENV PORT=7860 \
OPENCLAW_GATEWAY_MODE=local \
HOME=/root
# Disable broken speech plugin
RUN mkdir -p /root/.openclaw/plugins && \
echo '{"disabled": ["speech"]}' > /root/.openclaw/plugins/config.json
# Copy scripts
COPY sync.py /app/sync.py
COPY start-openclaw.sh /app/start-openclaw.sh
RUN chmod +x /app/sync.py /app/start-openclaw.sh
WORKDIR /app
EXPOSE 7860
CMD ["/app/start-openclaw.sh"] |