Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -31,14 +31,14 @@ RUN mkdir -p $OPENCLAW_STATE_DIR/agents/main/sessions && \
|
|
| 31 |
echo ' "controlUi": { "dangerouslyAllowHostHeaderOriginFallback": true }' >> $HOME/start.sh && \
|
| 32 |
echo ' },' >> $HOME/start.sh && \
|
| 33 |
echo ' "agents": {' >> $HOME/start.sh && \
|
| 34 |
-
echo ' "defaults": { "model": "ollama/
|
| 35 |
echo ' }' >> $HOME/start.sh && \
|
| 36 |
echo '}' >> $HOME/start.sh && \
|
| 37 |
echo 'EOF' >> $HOME/start.sh && \
|
| 38 |
echo 'ollama serve &' >> $HOME/start.sh && \
|
| 39 |
echo 'sleep 10' >> $HOME/start.sh && \
|
| 40 |
# Ensure the model is actually there before the gateway starts
|
| 41 |
-
echo 'ollama pull
|
| 42 |
# Force approval of the local device immediately
|
| 43 |
echo '(while true; do openclaw devices approve --latest > /dev/null 2>&1; sleep 5; done) &' >> $HOME/start.sh && \
|
| 44 |
echo 'exec openclaw gateway run' >> $HOME/start.sh && \
|
|
|
|
| 31 |
echo ' "controlUi": { "dangerouslyAllowHostHeaderOriginFallback": true }' >> $HOME/start.sh && \
|
| 32 |
echo ' },' >> $HOME/start.sh && \
|
| 33 |
echo ' "agents": {' >> $HOME/start.sh && \
|
| 34 |
+
echo ' "defaults": { "model": "ollama/qwen3.5:0.8b }' >> $HOME/start.sh && \
|
| 35 |
echo ' }' >> $HOME/start.sh && \
|
| 36 |
echo '}' >> $HOME/start.sh && \
|
| 37 |
echo 'EOF' >> $HOME/start.sh && \
|
| 38 |
echo 'ollama serve &' >> $HOME/start.sh && \
|
| 39 |
echo 'sleep 10' >> $HOME/start.sh && \
|
| 40 |
# Ensure the model is actually there before the gateway starts
|
| 41 |
+
echo 'ollama pull qwen3.5:0.8b' >> $HOME/start.sh && \
|
| 42 |
# Force approval of the local device immediately
|
| 43 |
echo '(while true; do openclaw devices approve --latest > /dev/null 2>&1; sleep 5; done) &' >> $HOME/start.sh && \
|
| 44 |
echo 'exec openclaw gateway run' >> $HOME/start.sh && \
|