Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,12 @@ Perfect for:
- Open a terminal → `ollama signin` (sign in via the Chromium browser that pops up) <img width="703" alt="ollama-signin" src="./docs/ollama-signin.png" />
- Pull a model: `ollama pull kimi-k2.5:cloud` (or any model you like)
- Launch: `ollama launch openclaw --model kimi-k2.5:cloud`
- (After first launch) `openclaw gateway run` or `openclaw gateway restart`
- (If there is errors/After first launch) `openclaw gateway run` or `openclaw gateway restart`
- Finally: `openclaw dashboard` → copy the tokenized URL

5. Open Chromium inside WebTop and paste the dashboard URL.
You now have a **fully working OpenClaw instance running 100% in the cloud.**
<img width="703" alt="End Results" src="./docs/working-openclaw.png">

## 🔧 Features

Expand Down
16 changes: 9 additions & 7 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,22 @@ FROM node:${NODE_VERSION}-slim AS node-bin
FROM lscr.io/linuxserver/webtop:ubuntu-mate

# Copy Node.js binaries and libraries
COPY --from=node-bin /usr/local/bin/node /usr/local/bin/
COPY --from=node-bin /usr/local/lib/node_modules /usr/local/lib/node_modules
RUN chmod +rw /usr/local/lib/node_modules -R
COPY --from=node-bin --chown=abc:abc /usr/local/bin/node /usr/local/bin/
COPY --from=node-bin --chown=abc:abc /usr/local/lib/node_modules /usr/local/lib/node_modules
RUN ln -s /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm

# Copy the Ollama binary from the official image
COPY --from=ollama-bin /usr/bin/ollama /usr/local/bin/ollama
COPY --from=ollama-bin --chown=abc:abc /usr/bin/ollama /usr/local/bin/ollama

RUN npm install -g openclaw@${OPENCLAW_VERSION}

# Start Ollama to start automatically when the desktop loads,
RUN mkdir -p /custom-cont-init.d
RUN echo 'ollama serve &' > /custom-cont-init.d/start-ollama.sh && \
RUN echo "runuser -l abc -c 'ollama serve &'" > /custom-cont-init.d/start-ollama.sh && \
chmod +x /custom-cont-init.d/start-ollama.sh

RUN npm install -g openclaw@${OPENCLAW_VERSION}
RUN echo "rm -rf /config/.npm" >> /custom-cont-init.d/init-openclaw.sh && \
echo "chown abc:abc -R /usr/local/lib/node_modules &" >> /custom-cont-init.d/init-openclaw.sh && \
chmod +x /custom-cont-init.d/init-openclaw.sh

EXPOSE 11434

Binary file added docs/working-openclaw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading