mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
* changed to argparse * del useless import * del print statement * use shortened argument
10 lines
259 B
Bash
Executable File
10 lines
259 B
Bash
Executable File
#!/bin/bash
|
|
set -eo pipefail
|
|
|
|
rm -rf `pwd`/workspace
|
|
mkdir -p `pwd`/workspace
|
|
|
|
docker build -t control-loop .
|
|
docker run -e DEBUG=$DEBUG -e OPENAI_API_KEY=$OPENAI_API_KEY -v `pwd`/workspace:/workspace control-loop python /app/main.py -d /workspace -t "${1}"
|
|
|