Agent Zero AI framework
docker /a0 mount fix
frdelf59ac2b48548
diff --git a/docker/run/fs/exe/run_A0.sh b/docker/run/fs/exe/run_A0.shindex 0da64a97f..4ec5f32b7 100644--- a/docker/run/fs/exe/run_A0.sh+++ b/docker/run/fs/exe/run_A0.sh@@ -26,8 +26,8 @@ while true; dosetup_venv- # Copy repository files if target is empty- if [ -z "$(ls -A "$TARGET_DIR")" ]; then+ # Copy repository files if run_ui.py is missing in /a0 (if the volume is mounted)+ if [ ! -f "$TARGET_DIR/run_ui.py" ]; thenecho "Copying files from $SOURCE_DIR to $TARGET_DIR..."cp -rn --no-preserve=ownership,mode "$SOURCE_DIR/." "$TARGET_DIR"fidiff --git a/docker/run/fs/ins/install_A0.sh b/docker/run/fs/ins/install_A0.shindex 31788618b..931cd7511 100644--- a/docker/run/fs/ins/install_A0.sh+++ b/docker/run/fs/ins/install_A0.sh@@ -15,7 +15,7 @@ pip install --upgrade pip ipython requestspip install torch --index-url https://download.pytorch.org/whl/cpu# Install remaining A0 python packages-pip install -r /github/agent-zero/requirements.txt+pip install -r /git/agent-zero/requirements.txt# Preload A0-python /github/agent-zero/preload.py+python /git/agent-zero/preload.pydiff --git a/docker/run/fs/ins/install_A02.sh b/docker/run/fs/ins/install_A02.shindex bce11421f..5118ad5fb 100644--- a/docker/run/fs/ins/install_A02.sh+++ b/docker/run/fs/ins/install_A02.sh@@ -1,7 +1,7 @@#!/bin/bash# cachebuster script, this helps speed up docker builds-rm -rf /github/agent-zero+rm -rf /git/agent-zero# run the original install script againbash /ins/install_A0.sh