mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-02 21:50:34 +00:00
WIP: docker runtime
This commit is contained in:
parent
7fc17b39c5
commit
b33b48057d
2 changed files with 4 additions and 3 deletions
|
|
@ -22,11 +22,11 @@ while true; do
|
|||
# Copy repository files if target is empty
|
||||
if [ -z "$(ls -A "$TARGET_DIR")" ]; then
|
||||
echo "Copying files from $SOURCE_DIR to $TARGET_DIR..."
|
||||
cp -rn --no-preserve=ownership,mode "$SOURCE_DIR/" "$TARGET_DIR"
|
||||
cp -rn --no-preserve=ownership,mode "$SOURCE_DIR/." "$TARGET_DIR"
|
||||
fi
|
||||
|
||||
echo "Starting A0..."
|
||||
python "$PYTHON_SCRIPT" --port 80
|
||||
python "$PYTHON_SCRIPT" --port 80 --host 0.0.0.0
|
||||
|
||||
# Check the exit status
|
||||
if [ $? -ne 0 ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue