wip
This commit is contained in:
parent
a4ce8a291d
commit
950d72aba1
8 changed files with 375 additions and 22 deletions
13
entrypoint.sh
Normal file
13
entrypoint.sh
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue