fix: remove .config symlinks and volume mount, use direct gog/gws paths

This commit is contained in:
2026-04-16 22:02:55 +00:00
parent 1738ef05a4
commit 49a98b68ca
2 changed files with 3 additions and 6 deletions

View File

@@ -14,7 +14,6 @@ services:
volumes:
- openclaw-config:/config
- openclaw-workspace:/workspace
- openclaw-config:/home/node/.config
openclaw-gateway:
build:

View File

@@ -57,11 +57,9 @@ RUN chmod +x /usr/local/bin/*
RUN mkdir -p /home/node/.openclaw/ssh /home/node/.openclaw/gog /home/node/.openclaw/gws /opt/openclaw/defaults \
&& chown -R node:node /home/node/.openclaw /opt/openclaw/defaults
# Link gog config and ssh to standard locations
RUN mkdir -p /home/node/.config /home/node/.ssh \
&& ln -sf /home/node/.openclaw/gog /home/node/.config/gogcli \
&& ln -sf /home/node/.openclaw/ssh /home/node/.ssh \
&& ln -sf /home/node/.openclaw/gws /home/node/.config/gws
# Link ssh to standard locations
RUN mkdir -p /home/node/.ssh \
&& ln -sf /home/node/.openclaw/ssh /home/node/.ssh
# Copy default config into the image
COPY config/openclaw.json /opt/openclaw/defaults/openclaw.json