openclaw-space / Dockerfile
Shiye1's picture
use official openclaw installer
29eb60a
Raw
History Blame Contribute Delete
421 Bytes
FROM node:22-bookworm-slim
WORKDIR /app
RUN apt-get update && apt-get install -y \
git curl ca-certificates python3 make g++ build-essential cmake bash \
&& rm -rf /var/lib/apt/lists/*
RUN curl -fsSL https://openclaw.ai/install.sh | bash -s -- --no-onboard
COPY setup.sh /app/setup.sh
RUN chmod +x /app/setup.sh
ENV PATH="/root/.openclaw/bin:/home/user/.openclaw/bin:${PATH}"
EXPOSE 7860
CMD ["/app/setup.sh"]