fix: remove .config symlinks and volume mount, use direct gog/gws paths
This commit is contained in:
@@ -14,7 +14,6 @@ services:
|
||||
volumes:
|
||||
- openclaw-config:/config
|
||||
- openclaw-workspace:/workspace
|
||||
- openclaw-config:/home/node/.config
|
||||
|
||||
openclaw-gateway:
|
||||
build:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user