feat: initial commit
This commit is contained in:
14
entrypoint.sh
Normal file
14
entrypoint.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo "No command provided"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ "$1" = "start" ]; then
|
||||
echo "Running the command: python /app/pyrpg.py ${NUMBER_OF_PSEUDONYMS:-100}"
|
||||
python /app/pyrpg.py ${NUMBER_OF_PSEUDONYMS:-100}
|
||||
else
|
||||
echo "Running the command: $@"
|
||||
exec "$@"
|
||||
fi
|
||||
Reference in New Issue
Block a user