fix: remove .config symlinks and volume mount, use direct gog/gws paths
This commit is contained in:
@@ -14,7 +14,6 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- openclaw-config:/config
|
- openclaw-config:/config
|
||||||
- openclaw-workspace:/workspace
|
- openclaw-workspace:/workspace
|
||||||
- openclaw-config:/home/node/.config
|
|
||||||
|
|
||||||
openclaw-gateway:
|
openclaw-gateway:
|
||||||
build:
|
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 \
|
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
|
&& chown -R node:node /home/node/.openclaw /opt/openclaw/defaults
|
||||||
|
|
||||||
# Link gog config and ssh to standard locations
|
# Link ssh to standard locations
|
||||||
RUN mkdir -p /home/node/.config /home/node/.ssh \
|
RUN mkdir -p /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/ssh /home/node/.ssh \
|
|
||||||
&& ln -sf /home/node/.openclaw/gws /home/node/.config/gws
|
|
||||||
|
|
||||||
# Copy default config into the image
|
# Copy default config into the image
|
||||||
COPY config/openclaw.json /opt/openclaw/defaults/openclaw.json
|
COPY config/openclaw.json /opt/openclaw/defaults/openclaw.json
|
||||||
|
|||||||
Reference in New Issue
Block a user