openclaw / Dockerfile
creativekeeda's picture
Update Dockerfile
46b3517 verified
Raw History Blame Contribute Delete
318 Bytes
FROM node:20-slim
WORKDIR /app
# install OpenClaw
RUN npm install -g openclaw
# create config folder
RUN mkdir -p /root/.openclaw
# add npm global bin to PATH
ENV PATH="/usr/local/bin:${PATH}"
# expose port
EXPOSE 7860
# start OpenClaw web interface
CMD ["openclaw", "web", "--host", "0.0.0.0", "--port", "7860"]