forked from Martian-Engineering/lossless-claw
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
23 lines (17 loc) · 663 Bytes
/
Dockerfile
File metadata and controls
23 lines (17 loc) · 663 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM node:22-bookworm
# Install git and build tools. Bookworm has newer cmake (3.25+)
RUN apt-get update && apt-get install -y git python3 make g++ cmake linux-libc-dev
# Install openclaw globally
RUN npm install -g openclaw@latest
# Copy our patched plugin
WORKDIR /plugin
COPY package.json package-lock.json ./
RUN npm ci
COPY . .
RUN npm run build || true # Just in case
# Set up openclaw workspace
WORKDIR /root/.openclaw
# Install our local plugin into the docker openclaw instance
RUN openclaw plugins install /plugin
# Run openclaw gateway in the foreground, creating a dev config
ENTRYPOINT ["openclaw", "gateway", "run", "--dev", "--bind", "auto"]