openclaw / Dockerfile
rianopenclawsotuft's picture
Update Dockerfile
e804150 verified
Raw History Blame Contribute Delete
454 Bytes
FROM node:22-slim
# Install Gotty (easier for mobile)
RUN apt-get update && apt-get install -y curl git procps
RUN curl -L https://github.com/yudai/gotty/releases/download/v1.0.1/gotty_linux_amd64.tar.gz | tar xz -C /usr/local/bin
# Setup OpenClaw
WORKDIR /app
RUN git clone https://github.com/OpenClaw/OpenClaw.git . && npm install -g pnpm && pnpm install
EXPOSE 7860
# Start Gotty with -w (permit writing)
CMD ["gotty", "-w", "-p", "7860", "bash"]