You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
581 B
22 lines
581 B
# Remote Agent - OpenClaw Gateway |
|
# Base: node:20-slim; deps for build + image processing (libvips) |
|
FROM node:20-slim |
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \ |
|
git \ |
|
python3 \ |
|
make \ |
|
g++ \ |
|
libvips-dev \ |
|
&& rm -rf /var/lib/apt/lists/* |
|
|
|
RUN npm install -g @openclaw/cli |
|
|
|
RUN mkdir -p /root/.openclaw/workspace/skills \ |
|
/root/.openclaw/workspace/plugins \ |
|
/root/.openclaw/workspace/archive \ |
|
&& chmod -R 777 /root/.openclaw/workspace/archive |
|
|
|
EXPOSE 18789 |
|
|
|
CMD ["openclaw", "gateway", "--port", "18789"]
|
|
|