hdbjasb commited on
Commit
f546fc8
·
verified ·
1 Parent(s): dd0312d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -3
Dockerfile CHANGED
@@ -5,12 +5,10 @@ RUN npm install -g openclaw@latest --force
5
 
6
  WORKDIR /app
7
 
8
- # THE 2026 FIX: Using variables to bypass the 127.0.0.1 lock
9
  ENV OPENCLAW_GATEWAY_BIND=lan
10
  ENV OPENCLAW_GATEWAY_PORT=7860
11
  ENV PORT=7860
12
 
13
  EXPOSE 7860
14
 
15
- # We use ONLY the password flag. Everything else is handled by the ENV above.
16
- CMD ["openclaw", "gateway", "--allow-unconfigured", "--password", "$OPENCLAW_GATEWAY_PASSWORD"]
 
5
 
6
  WORKDIR /app
7
 
 
8
  ENV OPENCLAW_GATEWAY_BIND=lan
9
  ENV OPENCLAW_GATEWAY_PORT=7860
10
  ENV PORT=7860
11
 
12
  EXPOSE 7860
13
 
14
+ CMD sh -c "openclaw gateway --allow-unconfigured --password $OPENCLAW_GATEWAY_PASSWORD"