openclaw / Dockerfile
rc0873's picture
Update Dockerfile
ca6563c verified
Raw History Blame Contribute Delete
689 Bytes
# Base Image
FROM ollama/ollama:latest
# Basic requirements
RUN apt-get update && apt-get install -y curl git && \
curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \
apt-get install -y nodejs && \
apt-get clean && rm -rf /var/lib/apt/lists/*
WORKDIR /app
RUN npm install -g openclaw@latest
EXPOSE 7860
ENTRYPOINT []
# COMMAND UPDATED with --allow-unconfigured:
# Isse OpenClaw bina config ke bhi challu rahega taaki aap dashboard khul sako.
CMD ["/bin/bash", "-c", "ollama serve & openclaw gateway --port 7860 --bind 0.0.0.0 --auth token --token d868419fea3b0149b5e46fd1b4189b3cff18c0fa06c4d67c --allow-unconfigured & sleep 15 && ollama pull llama3.1 && wait"]