QuantumCoreWorkerHead / Dockerfile
yamiclaws's picture
Update Dockerfile
8acd114 verified
raw
history blame contribute delete
787 Bytes
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"]