This commit is contained in:
pika 2025-03-24 17:51:57 +01:00
parent a4ce8a291d
commit 950d72aba1
8 changed files with 375 additions and 22 deletions

13
entrypoint.sh Normal file
View file

@ -0,0 +1,13 @@
#!/bin/sh
if [ "$1" = "server" ]; then
echo "Starting in server mode..."
exec python app.py
elif [ "$1" = "agent" ]; then
echo "Starting in agent mode..."
exec python agent.py
else
echo "Unknown mode: $1"
echo "Usage: $0 [server|agent]"
exit 1
fi