Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -25,7 +25,7 @@ RUN npm install -g openclaw@latest
|
|
| 25 |
# Expose the Hugging Face web port
|
| 26 |
EXPOSE 7860
|
| 27 |
|
| 28 |
-
# Create a robust startup script that pre-writes the OpenClaw config
|
| 29 |
RUN echo '#!/bin/bash\n\
|
| 30 |
echo "Writing default OpenClaw configuration..."\n\
|
| 31 |
cat <<EOF > /home/node/.openclaw/openclaw.json\n\
|
|
@@ -33,6 +33,9 @@ cat <<EOF > /home/node/.openclaw/openclaw.json\n\
|
|
| 33 |
"gateway": {\n\
|
| 34 |
"mode": "local",\n\
|
| 35 |
"bind": "lan",\n\
|
|
|
|
|
|
|
|
|
|
| 36 |
"controlUi": {\n\
|
| 37 |
"allowInsecureAuth": true\n\
|
| 38 |
}\n\
|
|
|
|
| 25 |
# Expose the Hugging Face web port
|
| 26 |
EXPOSE 7860
|
| 27 |
|
| 28 |
+
# Create a robust startup script that pre-writes the OpenClaw config with your EXACT password
|
| 29 |
RUN echo '#!/bin/bash\n\
|
| 30 |
echo "Writing default OpenClaw configuration..."\n\
|
| 31 |
cat <<EOF > /home/node/.openclaw/openclaw.json\n\
|
|
|
|
| 33 |
"gateway": {\n\
|
| 34 |
"mode": "local",\n\
|
| 35 |
"bind": "lan",\n\
|
| 36 |
+
"auth": {\n\
|
| 37 |
+
"token": "pelm-my-super-secret-password-123"\n\
|
| 38 |
+
},\n\
|
| 39 |
"controlUi": {\n\
|
| 40 |
"allowInsecureAuth": true\n\
|
| 41 |
}\n\
|