Dmitry Beresnev commited on
Commit
91ca971
·
1 Parent(s): 0b83a4d

fix flag of cmd in dockerfile

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. supervisord.conf +1 -1
Dockerfile CHANGED
@@ -40,4 +40,4 @@ RUN mkdir -p /app/vault /app/.openclaw/state
40
 
41
  EXPOSE 7860
42
 
43
- CMD ["sh", "-c", "( ${OPENCLAW_BIN} gateway run --port ${OPENCLAW_PORT} --bind loopback --allow-unconfigured --dev --force --verbose || ${OPENCLAW_BIN} gateway --port ${OPENCLAW_PORT} --bind loopback --allow-unconfigured --dev --force --verbose ) > /tmp/openclaw-gateway.log 2> /tmp/openclaw-gateway.err.log & exec uv run streamlit run app.py --server.address=0.0.0.0 --server.port=7860"]
 
40
 
41
  EXPOSE 7860
42
 
43
+ CMD ["sh", "-c", "( ${OPENCLAW_BIN} gateway run --port ${OPENCLAW_PORT} --bind loopback --allow-unconfigured --dev --verbose || ${OPENCLAW_BIN} gateway --port ${OPENCLAW_PORT} --bind loopback --allow-unconfigured --dev --verbose ) > /tmp/openclaw-gateway.log 2> /tmp/openclaw-gateway.err.log & exec uv run streamlit run app.py --server.address=0.0.0.0 --server.port=7860"]
supervisord.conf CHANGED
@@ -5,7 +5,7 @@ pidfile=/tmp/supervisord.pid
5
  user=root
6
 
7
  [program:openclaw]
8
- command=/bin/sh -lc "openclaw gateway run --port 18789 --bind loopback --allow-unconfigured --dev --force --verbose"
9
  autorestart=true
10
  startsecs=5
11
  stdout_logfile=/tmp/openclaw-gateway.log
 
5
  user=root
6
 
7
  [program:openclaw]
8
+ command=/bin/sh -lc "openclaw gateway run --port 18789 --bind loopback --allow-unconfigured --dev --verbose"
9
  autorestart=true
10
  startsecs=5
11
  stdout_logfile=/tmp/openclaw-gateway.log