File size: 689 Bytes
ca6563c
5419efe
9baf873
ca6563c
cf6f11d
5419efe
 
9baf873
 
 
cf6f11d
3981127
9baf873
3981127
 
ca6563c
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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"]