Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -33,7 +33,7 @@ mkdir -p /root/.openclaw/agents/main/sessions\n\
|
|
| 33 |
mkdir -p /root/.openclaw/credentials\n\
|
| 34 |
\n\
|
| 35 |
# Remove auth-profiles.json if it exists to force env var usage\n\
|
| 36 |
-
|
| 37 |
\n\
|
| 38 |
# Generate minimal config if not exists\n\
|
| 39 |
if [ ! -f /root/.openclaw/openclaw.json ]; then\n\
|
|
@@ -72,7 +72,7 @@ fi\n\
|
|
| 72 |
# Fix permissions\n\
|
| 73 |
chmod 700 /root/.openclaw\n\
|
| 74 |
chmod 600 /root/.openclaw/openclaw.json\n\
|
| 75 |
-
|
| 76 |
\n\
|
| 77 |
# Fix config if needed\n\
|
| 78 |
openclaw doctor --fix\n\
|
|
|
|
| 33 |
mkdir -p /root/.openclaw/credentials\n\
|
| 34 |
\n\
|
| 35 |
# Remove auth-profiles.json if it exists to force env var usage\n\
|
| 36 |
+
rm -f /root/.openclaw/agents/main/agent/auth-profiles.json\n\
|
| 37 |
\n\
|
| 38 |
# Generate minimal config if not exists\n\
|
| 39 |
if [ ! -f /root/.openclaw/openclaw.json ]; then\n\
|
|
|
|
| 72 |
# Fix permissions\n\
|
| 73 |
chmod 700 /root/.openclaw\n\
|
| 74 |
chmod 600 /root/.openclaw/openclaw.json\n\
|
| 75 |
+
chmod 600 /root/.openclaw/agents/main/agent/auth-profiles.json\n\
|
| 76 |
\n\
|
| 77 |
# Fix config if needed\n\
|
| 78 |
openclaw doctor --fix\n\
|